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
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.
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?
The problematic characters seems to be characters in the Big5-HKSCS charset. Convert them to Unicode.
Related
After a few releases of google chrome browser a new bug appeared which was not in previous versions.
I have a web page which shows date and time in Arabic characters.
there is a picture:
it was just fine before updates, and it is fine in other browsers.
I don't know if the problem is from my code (not defining some thing) or it's chrome new bug.
and notice that I use a localizer for Iran.
and therefor my fonts are Persian and using UTF-8 char-set
note that just number between two slashes or two dots change and etc.
I have a page that uses unicode control character (\u009d) inside.in windows 8 and google chrome browser there is no problem showing this char but in windows 10 using google chrome this char shows as a rectangle
but using other browsers like firefox or microsoft edge there is no problem at all
This is weird that I have the opposited probelem.
'\u0001' shows nothing in firefox(53.0.2 64 version), edge, ie10.
But on my office pc '\u0001' shows special pic with chrome.
And on my personal pc with different version chrome it shows another pic which is different with the pic as above.
I guess the browser control the vision of the chars. Different browser with version show different results.
Chrome on Ubuntu doesn't display special characters in words like Bo͞oyä when displaying. It works in Windows and Android. Also when typing the characters they look good, but not when displaying. Right now as I am typing this question, it shows right in the text-area but not in the preview below. Why? All works fine on Firefox on Ubuntu.
I asked this on Ubuntu forum but they pointed out that the problem was with Chrome. They are right. So where to post if not here?
Any solution?
Older browsers may not support all the HTML5 entities in the table below.
Chrome has good support. But (currently) only IE 11+ and Firefox 35+ support all the entities.
http://www.w3schools.com/charsets/ref_utf_punctuation.asp
I am using simple Unicode characters in my HTML file,Firefox and IE are fine with it but Chrome wont render it. Is there a way this issue can be fixed keeping various end users in mind?
I have a site with some swf file.
I have to translate all site in chinese, and when I have opened my flash project copy into a textfield (with font trebuchet) the text in chinese.
I have compiled and seen into many computers: Windows7 Windows Xp and Mac.
I'm very surprised because I seen the chinese character correctly but I have only copy the text I don't include any characters or font. Is possible this? For me is very simple now but I don't want that in a pc I don't see character because I have to include chinese font. But now is working and I see correctly. Why this? Is corret to don't include chinese font?
It looks like most modern systems will have support:
http://en.wikipedia.org/wiki/List_of_CJK_fonts
You'd lose in filesize by embedding a font but gain some extra control on the font smoothing and ability to rotate the font, but it looks like you'd be safe not embedding assuming you're targeting mostly customers that have moved up to or beyond XP service pack 3.