1 pageEncoding="UTF-8"写了
2 下面这个也写了还是不好使
最后:
String sex = new String(sex.getBytes("iso8859-1"),"UTF-8"); 好使了