String s1 = "你好";
String s2 = new String(s1.getBytes("GB2312"), "ISO-8859-1");
String s1 = "你好";
String s2 = new String(s1.getBytes("GB2312"), "ISO-8859-1");
本文标题:怎样将GB2312编码的字符串转换为ISO-8859-1编码的字
本文链接:https://www.haomeiwen.com/subject/ewhmmftx.html
网友评论