赞
踩
String text1 = URLEncoder.encode("中国", "utf-8"); // text1: %E4%B8%AD%E5%9B%BD String text2 = URLDecoder.decode(text1, "utf-8"); // tex2: 中国