?????????
????1??????????????
????String b =  new String(request.getParameter("name").getBytes("iso-8859-1"));
????2?? String a = new String(request.getParameter("name").getBytes("iso-8859-1")??"GBK");
??????? gbk ???????????
????3?????????????????????????
??????????????? java.net.URLEncoder.ecode("????"??"GBK");//??????????????????
????eg:  window.location.href="test.do?
????method=fuck&name='??'&test='<%=java.net.URLEncoder.encode("?????й?"??"GBK")%>'";
????// ???????????
??????????????1
????String test1 = new String(request.getParameter("test").getBytes("ISO-8859-1")??"gbk");
??????????1 ???????
???????java.net.URLDecode.decode ????
????String name = new String(URLDecoder.decode(request.getParameter("name")??"gbk"));
????4???????????????????javascript ???????? ????? utf-8
????encodeURIComponent(str);//str ??????????
????5???????????????
????tomcat ???? uriEncoding ='GBK'  gbk ????????