标签:
String t = "\u53d6"; try { String gbk=URLEncoder.encode(t,"GBK"); System.out.println(gbk); } catch (UnsupportedEncodingException e) { e.printStackTrace(); }
JAVA UTF-8字符转换为GBK
原文地址:http://www.cnblogs.com/cbread/p/5761538.html