问题:使用QQ接口的时候 返回数据里面前面有个b 导致无法解析
$html = file_get_contents("http://r.qzone.qq.com/fcg-bin/cgi_get_score.fcg?mask=7&uins=" . $qqCode);
//获取编码
$encode = mb_detect_encoding($html, array("ASCII",'UTF-8',"GB2312","GBK",'BIG5'));
//转换编码
$html = mb_convert_encoding($html, 'UTF-8', $encode);
这样子就可以获取到正常可解析数据了