使用URLDecoder.decode(string, "utf-8")改变编码
①Form.name = URLDecoder.decode(Form.name, "utf-8");
②String[] index = {URLDecoder.decode(request.getAttribute("index"),"utf-8")};
使用URLDecoder.decode(string, "utf-8")改变编码
①Form.name = URLDecoder.decode(Form.name, "utf-8");
②String[] index = {URLDecoder.decode(request.getAttribute("index"),"utf-8")};
转载于:https://www.cnblogs.com/flord/p/5776661.html