Forum Moderators: open
I have seen some webpage containing chinese text can display it nice ly, some need user goto change the language encoding. Can this problem can be solve? How? Where can I get more info about this?
Thanks...
Are there actually any hard numbers on what %ages of the browsers used by real Chinese native-language users, in the PRC, rest of AsiaPac and elsewhere, actually support (and have decent fonts for):
UTF-8
Big-5
etc?
and what any trends are?
Would I get useful/accurate data by collecting HTTP headers?
I'm using UTF-8 for all languages in all countries, and would need see real value in making a special case for my PRC server or users. My conversion rates there are still low, but I suspect UTF-8 browser support problems are only a small part of the issue!
Rgds
Damon
However, in the case that you've got a working UTF-8 site I don't know that you'd see much benefit in changing the site over. You could invest that time and money into testing the UTF-8 site and making sure there are no issues for you audience.
1. Use the correct HTTP Header to set the character set for the document (very simple in PHP)
2. Declare the characterset in the META tags of the document
3. (and often overlooked) Use <form accept-charset="?"> in forms to state that data should be in the given charset.
Using all 3 may be a little over the top but it often makes life easier in the long run (what if your Header and META charsets are different and browsers change to being more strict?)
Also, you should be aware that handling data from different (or potentially different) charsets can be problematic in PHP. UTF-8 causes many issues with PHP4 (as will other multi-byte sets) as their string functions work at byte level. I don't know about other languages as PHP is the one we use (as we don't have many such issues now).