Reputation: 6287
I tried it in several workstations, sometimes the Characters are displayed properly, sometimes only the last part is displayed. Any idea what is causing this? Any solution?
Here is the HTML: http://dl.dropbox.com/u/20727629/chi/chi.html
Here is the image of browser with issue: http://dl.dropbox.com/u/20727629/chi/chi_issue.gif
Here is the image of browser showing Chinese characters correctly: http://dl.dropbox.com/u/20727629/chi/chi.gif
I've tried several things:
In Windows, setting Regional Settings Format and Language to Chinese (Hong Kong Sar) sometimes fix it for Firefox (it worked in Windows Server 2003, and Windows 7), but IE and Chrome still displays squares or blank for some Chinese chars. Also it didn't work in Windows XP machine I tried.
For XP, In Regional Settings installed files East Asian languages but it didn't fix the problem.
In IE, I tried Tools -> Internet Options, setting Font of Chinese to MingLiu or other Chinese fonts. Didn't work.
Tested in the ff environment (English OS):
Windows 7
-Works in FF after setting Regional settings to Chinese. IE and Chrome still don't display it correctly.
Windows Server 2003
-Works in FF after setting Regional settings to Chinese. IE and Chrome still don't display it correctly.
Windows XP
-Problem FF, Chrome, IE
Ubuntu
-Problem
Upvotes: 1
Views: 5616
Reputation: 1308
The problematic characters seems to be characters in the Big5-HKSCS charset. Convert them to Unicode.
Upvotes: 0
Reputation: 13931
Please try diffrent encoding / character set. You are using UTF-8.
Most of chinese websites use gb2312 (simplified) or Big5 (traditional).
Do you know how to convert UTF-8 text file to diffrent encoding?
Upvotes: 1
Reputation: 82734
It seems to me, that many of these characters are in the Unicode Private Use Area. If and how those characters are displayed is highly platform- and font-dependend.
My FF on Linux shows the same rendering as the issue graphic. It means, that there is no character in the list of tried fonts to render the codepoint, and a fallback is used.
The characters, as far as I can oversee, are also present as other codepoints. Use these instead of the Private Use ones, and your chances to get the text rendered will much improve.
For example, you use U+F303 for the first character, the correct one would be U+31C0.
Upvotes: 3