In the work has a running under Tomcat application, with UTF-8 encoded HTM page is always garbled, ie in code always defaults to "Western Europe" code, set the
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/> also no avail. Finally in the%tomcat%/conf/web.xml modified the
<mime-mapping>
<extension>htm</extension>
<mime-type>text/html;charset=utf-8</mime-type>
</mime-mapping>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html;charset=utf-8</mime-type>
</mime-mapping>
After the HTM normal access, IE code defaults to "UTF-8", which red for my new addition.
In addition, some friends suggest modifying the following configuration in%tomcat%/conf/server.xml (where the red is the new addition)
<connector
port= "8080"
Redirectport= "8443"
Minsparethreads= "25"
connectiontimeout= "20000"
maxsparethreads= "75"
maxthreads= "80"
Maxhttpheadersize= "8192"
Disableuploadtimeout= "true"
Usebodyencodingforuri= "true"
Urincoding= "UTF-8"
>
</Connector>
But the change does not work.