阅读背景:

Android学习札记9:对URL链接中中文汉字的编码处理

来源:互联网 
String url = null;
try {
	url = new String("https://open.client.lashou.com/api/detail/city/" + URLEncoder.encode(city.getName(), "utf8") + "/p/1");
} catch(Exception e) {
	e.printStackTrace();
}
return url;String url = null;
try {
	url = new String("htt



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: