Many times, some Jquery plug-ins on the Internet have garbled Characters During page running. I have summarized three points and hope to help you:
1. When you import Jquery code: other text on the webpage is normal, while Jquery code displays an exception.
Solution: Open the jquerycode with notepad (.txt) or word, save it as, and change its encoding method (usually changed to UTF-8 or gb2312 ).
2. When you want to modify the encoding of the entire website in ASP. NET.
Modify the encoding in the <globalization requestEncoding = "gb2312" responseEncoding = "gb2312" culture = "zh-CN" fileEncoding = "gb2312"/> label in the web. config file.
3. When the html webpage code is garbled.
Modify the charset UTF-8 <meta http-equiv = "Content-Type" content = "text/html; charset = gbk"/>.
Note: Commonly Used encoding types in webpages: UTF-8, gb2312, and gbk.
From csxj817