2016年11月2日

java中使用encode转码和解码

摘要: String str = URLEncoder.encode("中国","utf-8"); System.out.println(str); //解码 String str1=URLDecoder.decode(str, "UTF-8"); System.out.println(str1); 打印结 阅读全文

posted @ 2016-11-02 10:26 wonder2636 阅读(50519) 评论(0) 推荐(1) 编辑

导航