Why does my Vietnamese text only display correctly in the US?
May 31, 2006 3:16 AM
Subscribe
How does a web browser decide whether it can display a numerical character reference?
I have a web page that is available in English and Vietnamese. I use numerical character references for the Vietnamese characters that fall outside the ISO-8859-1 character set (which is the document character set). On my machine at home, this seems to work fine. But I hear from users in Vietnam that it's all messed up. I know they have fonts capable of displaying the characters.
Due to database issues beyond my control, I cannot store the Vietnamese text directly in UTF-8. If I change the output document encoding to UTF-8, the characters from character references get mangled even on my machine. What gives? I thought character references were independent of a document's encoding, referring directly to HTML's ISO-10646 roots?
Is there anything I can do, given that these characters must be stored as references?
posted by Nothing to computers & internet (5 comments total)
posted by Nothing at 4:13 AM on May 31, 2006