PHP转码函数iconv

iconv ( string in_charset, string out_charset, string str )

//忽略错误
$str=iconv('GBK','UTF-8//IGNORE',$str);

猜你喜欢

转载自blog.csdn.net/sr_www/article/details/84977460
今日推荐