求把字符串替UTF-8的转为GBK的代码
求把字符串为UTF-8的转为GBK的代码
求把字符串为UTF-8的转为GBK的代码
------解决方案--------------------
new String(sourceString.getBytes( "UTF-8 "), "GBK ")
求把字符串为UTF-8的转为GBK的代码
------解决方案--------------------
new String(sourceString.getBytes( "UTF-8 "), "GBK ")