curl抓取乱码解决思路

WBOY
Release: 2016-06-13 12:04:17
Original
950 people have browsed it

curl抓取乱码
用浏览区访问以下获取正常

curl获取乱码

改变浏览器编码不起作用(从一种乱码变成另外一种乱码)

代码如下


有人知道什么原因吗?
------解决方案--------------------
echo base64_encode($response);
贴出结果

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!