useful Link to understand Encoding http://kunststube.net/encoding/ - shared by @deceze
I'm trying to detect for the chinese character but cant. When i try echo , i get this "´Ë±¦±´ÒÑϼÜ". I don't need to display it, just need to detect the characters on the html page.
//Set the post parameters curl_setopt($ch, CURLOPT_URL, 'http://bit.ly/1y'); //execute new request $htmlcode = curl_exec($ch); curl_close($ch); if (stripos($htmlcode, "已下架") !== false) { echo "True"; }else{ echo "Fail"; } Any suggestions would be greatly appreciated