Solution to the Get Chinese garbled problem:
Modify the conf/server.xml file in the root directory of Tomcat, the code is as follows:
connectionTimeout="20000"
redirectPort="8443"
URIEncoding="UTF-8"
/>
However, when using IE browser, you will find that the problem of Chinese garbled characters still exists. We need to process the URL requested from the front desk to the background. The code is as follows:
jQuery("#divID").empty().load(encodeURI(url), {parameter name: parameter value});
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn