原文引用 大专栏 https://www.dazhuanlan.com/2019/08/26/5d6336d92a92a/
页面传参中文参数乱码
- 使用
request.setCharacterEncoding('utf-8');
- 使用
request.getParameter("handlerType").getBytes("ISO-8859-1"),"utf-8")
接受传递的参数值
原文引用 大专栏 https://www.dazhuanlan.com/2019/08/26/5d6336d92a92a/
request.setCharacterEncoding('utf-8');
request.getParameter("handlerType").getBytes("ISO-8859-1"),"utf-8")
接受传递的参数值来源:https://www.cnblogs.com/petewell/p/11411023.html