网页小记录

两个页面之间传递中文参数,编码:

String strPtname = request.getParameter("ptname"); 
strPtname = new String(strPtname.getBytes("ISO-8859-1"), "UTF-8");   
原文地址:https://www.cnblogs.com/baby-lee/p/3721011.html