Character coding

Hello guys,

What character encoding should I use in the HTML file so that the special Hungarian characters appear well?

Hi and welcome to the forum

<meta charset="UTF-8">

but the HTML file (txt) itself must be written in that charset - it is not enough just to declare it.

3 Likes

HTML5 only works with UTF-8. And so does our file manager, and many other tools. So generally speaking, you should always only ever store websites files with UTF-8 encoding.

Please note: this is a setting in your code editor, it’s not fixed by simply adding some HTML code to your page. The file must be stored with correct encoding to work.

4 Likes

Thanks a lot! It works!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.