界面的所有编码都是GBK,ajax post请求需要设置
xmlhttp.setRequestHeader("content-type","application/x-www-form-urlencoded");
后台接收需要用UTF-8,request.setCharacterEncoding("UTF-8");
界面的所有编码都是GBK,ajax post请求需要设置
xmlhttp.setRequestHeader("content-type","application/x-www-form-urlencoded");
后台接收需要用UTF-8,request.setCharacterEncoding("UTF-8");