url中含有中文字符串的处理方式

System.out.println(URLEncoder.encode("重庆", "utf-8"));

猜你喜欢

转载自li7jia7.iteye.com/blog/1770117