String name = new String(name.getBytes("ISO-8859-1"),("UTF-8")); 其中"ISO-8859-1"是tomcat服务器的特性,tomcat会把数据先转换成为"ISO-8859-1","UTF-8"是想要的效果!