Home  >  Article  >  Web Front-end  >  What to do if jquery easyui is garbled?

What to do if jquery easyui is garbled?

藏色散人
藏色散人Original
2020-12-14 10:18:382465browse

jquery easyui is garbled because after easyui is introduced, the Chinese package in it does not have any effect. The solution is: 1. Check and modify the introduction path of the Chinese package; 2. Change the encoding of the Chinese package to utf -8 is enough.

What to do if jquery easyui is garbled?

The operating environment of this tutorial: windows7 system, jquery1.10.0 version, thinkpad t480 computer.

Recommended: "jquery video tutorial"

jquery easyui garbled code

The reason why garbled code appears is because we are introducing After easyui, the Chinese package in it did not work

The reasons why the Chinese package did not work are:

1. There is a problem with the introduction path of the Chinese package, the file cannot be found 404, this It's very simple, just check the path

2. The Chinese package file can be found, but the content inside does not work. This is because of the character encoding problem

You need to convert the Chinese package file Change the encoding to utf-8, use notepad to open the Chinese package, save it as UTF-8 format, or use other editors to open it, and save it as UTF-8 format.

easyUI

jQuery EasyUI is a jQuery-based framework that integrates various user interface plug-ins.

Official website: http://www.jeasyui.net/

For more programming-related knowledge, please visit: Introduction to Programming! !

The above is the detailed content of What to do if jquery easyui is garbled?. For more information, please follow other related articles on the PHP Chinese website!

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