// 亂碼解決方法
String name = new String(userName.getBytes("iso-8859-1"), "UTF-8"); String s = new String(sex.getBytes("iso-8859-1"), "utf-8");