easyUI form sumit 中文乱码
jsp 编码方式:
pageEncoding="UTF-8"
tomcat 编码方式:
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
====================================================
原因:
编码不一致导致。
依据:
This specifies the character encoding used to decode the URI bytes, after %xx decoding the URL. If not specified, UTF-8 will be used unless the org.apache.catalina.STRICT_SERVLET_COMPLIANCE
system property is set totrue
in which case ISO-8859-1 will be used.
解决问题方式:
<Connector URIEncoding="utf-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>