时间:2021-07-01 10:21:17 帮助过:38人阅读
$keys = $_REQUEST['keys']; if ($keys != '') { $encode = mb_detect_encoding ($keys, array("ASCII", "UTF-8", "GB2312", "GBK", "BIG5")); if ($encode != "UTF-8") { $keys = iconv ("gb2312", "UTF-8", $keys); } }
参考:http://blog.sina.com.cn/s/blog_703bcf7c0100s6vb.html
以上就介绍了IE浏览器下POST中文乱码解决办法 - PHP实现,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。