aps中通过xmlhttp传回的是GB2312编码,在客户端是UTF-8,如何解决呢?


在客户端

oXmlHttp.open ............
oXmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
oXmlHttp.send .............
在服务器端
response.charset = "GB2312"
posted on 2008-09-05 10:47  Donaldxu  阅读(344)  评论(0编辑  收藏  举报