JAVA 中URL链接中文参数乱码处理方法

http://xxx.do?ptname='我是中国人'
String strPtname = request.getParameter("ptname");
strPtname = new String(strPtname.getBytes("ISO-8859-1"), "UTF-8");

原文地址:https://www.cnblogs.com/gjack/p/8887913.html