jsp提交中文乱码
表单使用Post方式提交后接收到的乱码问题
接受参数时进行编码转换
----------------------------
String str = new String(request.getParameter("something").getBytes("ISO-8859-1"),"utf-8") ;
发布时间: 2012-10-28 09:54:44 作者: rapoo
jsp提交中文乱码
表单使用Post方式提交后接收到的乱码问题
接受参数时进行编码转换
----------------------------
String str = new String(request.getParameter("something").getBytes("ISO-8859-1"),"utf-8") ;