摘要: 解决URL提交中文出现乱码有两种办法:1.请求端的中字符有encodeURI进行一次转码,如: var url="/getUser?name="+encodeURI(name);服务器端代码:name=new String(name.getBytes("iso8859-1"),"UTF-8");注: 阅读全文
posted @ 2016-08-03 17:14 Franson 阅读(7437) 评论(0) 推荐(1)