GKB字符集转UTF-8

str_country = new String(country.getBytes(), “UTF-8”);
str_isp = new String(isp.getBytes(), “UTF-8”);
str_region = new String(region.getBytes(), “UTF-8”);
str_county = new String(county.getBytes(), “UTF-8”);
str_city = new String(city.getBytes(), “UTF-8”);

你可能感兴趣的:(GKB字符集转UTF-8)