Home >Web Front-end >H5 Tutorial >How to solve the problem of Chinese garbled characters in HTML5 under IE10 and Firefox_html5 tutorial skills
I have been studying HTML5 for a few days. I have been reading the documentation without writing it. I started writing code last night and found that the Chinese characters were garbled. I thought it was not compatible with IE10, and then I switched to Firefox, but it didn’t work. Finally, after a lot of fiddling, it turned out that in When editing a web page, not only add the sentence , but also save the file as UTF-8 when saving, that's it. The code is as follows: