// 乱码解决方法
String name = new String(userName.getBytes("iso-8859-1"), "UTF-8"); String s = new String(sex.getBytes("iso-8859-1"), "utf-8");
// 乱码解决方法
String name = new String(userName.getBytes("iso-8859-1"), "UTF-8"); String s = new String(sex.getBytes("iso-8859-1"), "utf-8");
转载于:https://my.oschina.net/u/3482619/blog/1596408