Home > Web Front-end > JS Tutorial > body text

Get Chinese garbled IE browser Get Chinese garbled solution_jquery

WBOY
Release: 2016-05-16 17:06:47
Original
1146 people have browsed it

Solution to the Get Chinese garbled problem:

Modify the conf/server.xml file in the root directory of Tomcat, the code is as follows:

Copy the code 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});
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template