Layui half of the page normal display Chinese, half garbled

Source: Internet
Author: User

Recently found Layui page bar, the front display Chinese normal, behind the display garbled. The reason is Layui in the Laypages.js, the front of the Chinese with the Unicode expression, the back is directly written in Chinese,

If the coding problem, there will be garbled, the solution is to use all the Chinese Unicode processing, you can, the text is not more than 5 or so.

The conversion tool address for Unicode is:

https://www.bejson.com/convert/unicode_chinese/

Http://tool.chinaz.com/tools/unicode.aspx

For example: The total conversion result is \u5171 but in Laypage.js should be modified to:& #x5171; That is: \u into & #x并且后面加分号, so that no matter when there is no garbled.

Layui half of the page normal display Chinese, half garbled

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.