iconv()

iconv('UTF-8',"GBK",$str);  

将字符串从UTF-8转换成GBK

原文地址:https://www.cnblogs.com/xiaobiaomei/p/9278647.html