Comments: HTML5 UTF-8 appear Chinese garbled, there should be a lot of friends have encountered it, write with notepad, save after running in the web page appeared garbled, changed to GB2312 can correctly display Chinese, the following describes how to solve the problem.
The Code is as follows:
<! DOCTYPE html>
<Html>
<Head>
<Meta charset = "UTF-8">
<Title> HTML5 title </title>
</Head>
<Body>
<P> HTML5 content! Hello </p>
</Body>
</Html>
Write in notepad, save and run garbled characters on the webpage, and change to GB2312 to correctly display Chinese characters.
If there is no problem with the code, go to the notepad. <Meta charste = "UTF-8"> it only tells the browser to use UTF-8 for explanation, while the encoding of the document is determined by your selection during storage. If you save ANSI and then use UTF-8 for explanation, it must be garbled, notepad, the default save file format is ANSI, so when saving to modify to uif-8.