一个转化小方法
public static String getStr_gb(String str) {
String temp = null;
try {
String temp_p = str;
if (temp_p == null) {
return temp;
}
temp_p = temp_p.trim();
temp = new String(temp_p.getBytes("ISO8859_1"), "GBK");
} catch (Exception e) {
e.printStackTrace();
}
return temp;
}