//这样我试了 是可以解决的乱码的 $content = iconv("GBK","UTF-8",$value['cityname']); $content = mb_convert_encoding($value['cityname'], "UTF-8","UTF-8");
转载请注明:谷谷点程序 » mysql数据库gbk网站用utf-8文字乱码的解决办法
//这样我试了 是可以解决的乱码的 $content = iconv("GBK","UTF-8",$value['cityname']); $content = mb_convert_encoding($value['cityname'], "UTF-8","UTF-8");
转载请注明:谷谷点程序 » mysql数据库gbk网站用utf-8文字乱码的解决办法