String s1 = "你好"; String s2 = newString(s1.getBytes("GB2312"), "ISO-8859-1"); 在String类的构造方法当中,存在一个字符集设置的方法