java url中文参数乱码

String city=new String(city_name.getBytes("ISO-8859-1"), "UTF-8");  

猜你喜欢

转载自www.cnblogs.com/MarsMercury/p/11959814.html