private static void Url(String str) throws UnsupportedEncodingException {
String s = URLEncoder.encode(str, "UTF-8");
System.out.println(s);
String s1 = URLDecoder.decode(s, "UTF-8");
System.out.println(s1);
}
url 编码解码
最新推荐文章于 2024-04-15 09:08:32 发布