JAVA几种常见的编码格式(转)

https://www.cnblogs.com/gdayq/p/5817367.html

 

java中将ISO8859-1字符串转成GB2312编码,语句为 ? 

new String("ISO8859-1".getBytes("ISO8859-1"),"GB2312")
posted @ 2020-08-10 13:34  tzmok  阅读(191)  评论(0编辑  收藏  举报