tomcat默认是iso8899-1
给你个方法,楼主可以举一反三 /**
 * GB to ISO8859_1
 * @param strIn
 * @return String
 */
public static String GBtoISO(String strIn) {
byte[] b;
String strOut = null;
if (strIn == null || (strIn.trim()).equals("")) { return strIn; }
try {
b = strIn.getBytes("GBK");
strOut = new String(b, "ISO8859_1");
} catch (UnsupportedEncodingException e) {
}
return strOut;
}