Web page fails to display Chinese problem resolution

Source: Internet
Author: User

<! DOCTYPE html>
<meta charset= "UTF-8"/>
<body>
<p> gentleman's trip, quiet to slim, thrifty to foster virtue. Non-Mingzhi, not quiet and far away. The husband learns to be quiet also, must learn also, not to learn not to be broad, non-zhi not to become learning. The sex is slow to be unable to be refined, the risk is not to be able to smelt. Years and time Chi, meaning and day to go, then become withered and fall, more than the world, sad to keep the poor cottage, will re-ho and! </p>
<script>
</script>
</body>

This is a normal page code, but when I use the browser to open, the Chinese characters become a bunch of garbled.

The reason is that the editor's "format" is ANSI format encoding, the format is changed to "UTF-8" after the normal. The principle and parsing between the specific editor and the browser I'm not too clear.

Web page fails to display Chinese problem resolution

Related Article

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.