使用URLDecoder.decode(string, "utf-8")改变编码
①Form.name = URLDecoder.decode(Form.name, "utf-8");
②String[] index = {URLDecoder.decode(request.getAttribute("index"),"utf-8")};
本文共 219 字,大约阅读时间需要 1 分钟。
使用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