Babyy

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
String name = internetAddress0[0].getPersonal();

String iso8859=new String(name.getBytes("ISO-8859-1"),"utf-8"); // OK
String gb2312=new String(name.getBytes("GB2312"),"utf-8");
String gbk=new String(name.getBytes("GBK"),"utf-8");
String utfs=new String(name.getBytes("utf-8"),"utf-8");


posted on 2019-11-14 16:09  Babyy  阅读(583)  评论(0编辑  收藏  举报