需要encodeing,把"中文"
从gbk转iso88591机器的location set 成chinapublic static String GBKToIso(String a_strValue)
{
try
{
String tempstr=new String(a_strValue.getBytes("GBK"),"iso-8859-1");
return tempstr;
}
catch (Exception e)
{
return a_strValue;
}
}
从gbk转iso88591机器的location set 成chinapublic static String GBKToIso(String a_strValue)
{
try
{
String tempstr=new String(a_strValue.getBytes("GBK"),"iso-8859-1");
return tempstr;
}
catch (Exception e)
{
return a_strValue;
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货