Home  >  Article  >  Web Front-end  >  Jquery网页出现的乱码问题的三种解决方法_jquery

Jquery网页出现的乱码问题的三种解决方法_jquery

WBOY
WBOYOriginal
2016-05-16 17:30:511632browse

1、当导入Jquery代码时:网页中其它文字正常,而Jquery代码显示异常。
解决方案: 将Jquery代码用文本(.txt)或word打开,再另存为并改变其编码方式(通常改为utf-8或gb2312)。

2、当要改ASP.NET中整个网站的编码问题时。
在web.config文件中修改标签中的编码

3、当html网页编码出现乱码。
就修改

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