$content = iconv("utf-8","gb2312//IGNORE",$content); //utf-8转gbk $content = iconv("gb2312","utf-8//IGNORE",$content); //gb2312换为utf-8
iconv 解决utf-8和gb2312编码转换问题
原文:http://www.cnblogs.com/lh460795/p/6646348.html