String s1 = "你好"; String s2 = new String(s1.getBytes("GB2312"), "ISO-8859-1"); 转载于:https://www.cnblogs.com/tjlgdx/p/6145825.html