用中文转换!
例:
public String getStr(String str)
{
try
{
String temp_p =str;
byte[] temp_t =temp_p.getBytes("GBK");
String temp =new String(temp_t,"ISO8859_1");
return temp;
}
catch (Exception ex) { }
return "";
}
例:
public String getStr(String str)
{
try
{
String temp_p =str;
byte[] temp_t =temp_p.getBytes("GBK");
String temp =new String(temp_t,"ISO8859_1");
return temp;
}
catch (Exception ex) { }
return "";
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货