网上好多用iconv("gb2312","utf-8","中文字符");处理的贴子,试了下,都不能用,只有这个能用:
$a=mb_convert_encoding("思想感情有","html-entities","utf-8");
保存下。
时间: 2024-10-06 19:55:41
网上好多用iconv("gb2312","utf-8","中文字符");处理的贴子,试了下,都不能用,只有这个能用:
$a=mb_convert_encoding("思想感情有","html-entities","utf-8");
保存下。