Forum Moderators: open
While including Korean, Japanese, Russian and Chinese in my web page (and hence changing charset encoding to UTF-8)
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> I am guessing the validator does it's job, I'm just afraid that some browsers may not show all characters as I intend them to be shown.
What should I do? Stop converting to HTML entities? Convert only "normal" strings to HTML entities? Only use UTF-8 encoding on pages where I truly need it?
Thank you for any thoughts.
Jon
They do have their uses -- I recently used ​ to get a zero width space, for example -- but you shouldn't need them much these days.
What should I do? Stop converting to HTML entities?
Absolutely, if your pages are correctly encoded in UTF-8 you should have no need for HTML entities - just use the characters you want directly. This is one of the huge advantages of UTF-8. Browser support is very widespread these days (only IE4/NN4 and below are problematic, and they're ancient).
I use UTF-8 by default in almost all circumstances, even if the pages are in English, and I avoid HTML entities as much as possible.