1.request.setCharacterEncoding("gbk");
只限于表单是post的情况,如果是get的情况不好使。中文还是乱码。
2.new String (rpage.getBytes("iso8859-1"));
post和get都好使。
待续
1.request.setCharacterEncoding("gbk");
只限于表单是post的情况,如果是get的情况不好使。中文还是乱码。
2.new String (rpage.getBytes("iso8859-1"));
post和get都好使。
待续