62,621
社区成员
发帖
与我相关
我的任务
分享
String name = request.getParameter("name");
String strA = new String(name.getBytes(), "UTF-8");
String strB = new String(name.getBytes("GBK"), "UTF-8");
String strC = new String(name.getBytes("gb2312"), "UTF-8");
String strD = new String(name.getBytes("ISO-8859-1"), "UTF-8");
String strE = new String(name.getBytes("UTF-8"), "GB2312");
都不对为啥