A solution to the problem of garbled characters after the introduction of Easyui-lang-zh_cn.js in JQuery Easyui

Source: Internet
Author: User

Recently using Easyui to do projects, found that the introduction of Easyui-lang-zh_cn.js Unit page will appear garbled, whether set <meta>, or response can not solve the problem. Open the Easyui-lang-zh_cn.js file with Notepad, the content is normal Ah, and the file format is also UTF8. This question has been bothering me for a long time.

Later accidentally opened Easyui-lang-zh_ with Eclips Cn.js file, found inside the Chinese part is all garbled, this just understand, originally this file itself has a problem, so with Notepad open this file, re-copy paste to eclips again save, again test, or garbled, and then open with Notepad, found that the file format became ANSI, so with Notepad to save the UFT8 format , re-test, finally normal.

A solution to the problem of garbled characters after the introduction of Easyui-lang-zh_cn.js in JQuery Easyui

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.