Send post back data in the browser normal use of PHP curl returned is garbled
Header filled correctly
Such a garbled:
Is the return data encrypted?
I figure it out, the data returned is gzip compressed, curl to decompress to normal. Thank you for the digit.
Reply content:
Header filled correctly
Such a garbled:
Is the return data encrypted?
I figure it out, the data returned is gzip compressed, curl to decompress to normal. Thank you for the digit.
See what character sets are returned, using ICONV to convert your current character set
Curl in a sentence:
curl_setopt ($ch, Curlopt_encoding, "");
Coding problem, check the station you are requesting what code (such as UTF-8/GBK), unified under
The above is to use the browser to send post back data normal with PHP Curl returned is garbled content, more relevant content please pay attention to topic.alibabacloud.com (www.php.cn)!