Internet explorer Get Chinese garbled code solution

  • 2020-03-30 01:07:08
  • OfStack

Get Chinese garbled code problem solution:

Modify the conf/server.xml file in Tomcat root directory, the code is as follows:
 
<Connector port="8080" protocol="HTTP/1.1" 
connectionTimeout="20000" 
redirectPort="8443" 
URIEncoding="UTF-8" 
/> 

However, the use of Internet explorer will find that the Chinese garbled code problem still exists. We need to process the url requested from the foreground to the background. The code is as follows:

JQuery (" # divID "). The empty (). The load (encodeURI (url), {parameter name: parameter values});

Related articles: