使用的是高德地图,获取到中文地址后,传递到java端显示乱码,如何解决呢?
String address = getPara("address");
try {
address = new String(address.getBytes("ISO-8859-1"),"UTF-8");
} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}