81,092
社区成员
发帖
与我相关
我的任务
分享
subject=new String(subject.getBytes("ISO-8859-1"), "GB2312");
public String getStr(String str){
try {
String temp_p = str;
byte[] temp_t;
temp_t = temp_p.getBytes("iso-8859-1");
String temp = new String(temp_t);
return temp;
} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return "null";
}