标签:
在知乎上看到了一个不错的回答,mark一下。
http://www.zhihu.com/question/20361462
public static void main(String... args) throws Throwable { String errStr = "errStr"; System.out.println(recover(errStr)); }
public static String recover(String str) throws Throwable { return new String(str.getBytes("GBK"), "UTF-8"); }
标签:
原文地址:http://www.cnblogs.com/wxisme/p/4925997.html