fancool 发表于 2013-2-7 16:53:07

web乱码调整

服务端获取:
String value = URLDecoder.decode(request.getParameter("test1Value"),"UTF-8");

客服端发送:
location.href = "<%=path%>/test1.do?test1Value="+encodeURI(encodeURI("中国人"));
页: [1]
查看完整版本: web乱码调整