String str ="gbk编码格式";
String iso = new String(str.getBytes("UTF-8"),"ISO-8859-1");
System.out.println("UTF-89格式:"+iso);
本文介绍了如何将GBK编码格式的字符串转换为ISO-8859-1编码格式,并通过示例展示了具体实现过程。
String str ="gbk编码格式";
String iso = new String(str.getBytes("UTF-8"),"ISO-8859-1");
System.out.println("UTF-89格式:"+iso);
644

被折叠的 条评论
为什么被折叠?