首页 > 代码库 > iconv 解决utf-8和gb2312编码转换问题

iconv 解决utf-8和gb2312编码转换问题

$content = iconv("utf-8","gb2312//IGNORE",$content); //utf-8转gbk$content = iconv("gb2312","utf-8//IGNORE",$content); //gb2312换为utf-8

 

iconv 解决utf-8和gb2312编码转换问题