It just tells the browser to use utf-8 for interpretation, and the encoding of the document is determined by the choice you make when saving. If you save ANSI and then interpret it with utf-8, it will definitely be garbled. For Notepad, the default file format saved is ANSI. So it needs to be changed to uif-8 when saving.