1、get请求不管用什么编码都是乱码,
2、由于http请求最先到达的是容器,所以先要检查容器的unrencodeing
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="18443" URIEncoding="UTF-8" />
3、如果这个正确,在检查web.xml里边的配置是否正确
<filter>
<filter-name>CharacterEncodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CharacterEncodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>