ajax解决中文乱码
这里提供ajax解决中文乱码,get方式访问中的中文乱码。解决方法是转码encodeURI,然后解码php用urldecode
不然php页面就会乱码,处理不出来数据。
如果是gbk可以用$b = iconv(”utf-8″,”gb2312″,urldecode(”get参数变量”));
相关文章:If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

终于找到了,谢过博主。