搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Chinese simple characters are not displayed correctly (Old (TW? HK?) style instead of modern characters)

more options

We a currently trying to translate our software into Chinese and we noted that some of the chinese characters are displayed incorrectly (it seems the Taiwanese/Hongkong version is displayed instead of the modern simple character)

The problem exists in both Firefox 3.6 as well as 4.0.1 and 4.0.2 (we did not try with other versions yet)

The characters are displayed correctly in IE 9.x and Google Chrome 13.0.782.220 m and we are positive it is not a problem with the website itself.

I copied part of a screenshot on: http://stuff.schoellhammer.at/bsp.png The bottom part is the character from the input scheme (correctly displayed) but once it is entered in firefox (top part), the left character is displayed in incorrectly.

We a currently trying to translate our software into Chinese and we noted that some of the chinese characters are displayed incorrectly (it seems the Taiwanese/Hongkong version is displayed instead of the modern simple character) The problem exists in both Firefox 3.6 as well as 4.0.1 and 4.0.2 (we did not try with other versions yet) The characters are displayed correctly in IE 9.x and Google Chrome 13.0.782.220 m and we are positive it is not a problem with the website itself. I copied part of a screenshot on: http://stuff.schoellhammer.at/bsp.png The bottom part is the character from the input scheme (correctly displayed) but once it is entered in firefox (top part), the left character is displayed in incorrectly.

所有回覆 (3)

more options

If you check the page encoding (View menu > Character Encoding) is Firefox detecting the encoding correctly?

Does this problem occur with a font that is on the system, or a font that is downloaded? It would be useful to rule out a problem with font-downloading and possible font-substitution.

Can you provide a link to the page?

more options

Thank you for your fast reply :)

The site is not online available unfortunately.

The character encoding used by Firefox is UTF-8 (automatically detected) which is correct. I even tried manually switching to other Chinese standards, but none of them brought a satisfieable result.

The site itself does not specify a font (the css only contains "font-family: Arial,Tahoma,Verdana;"), and the site does not provide a custom font either.

I noticed that if i copy and paste the text into word, the characters are wrongly displayed too using the font MS Mincho (so I assume Firefox automatically selects this font to display the characters which would explain why they are displayed incorrectly)

Ah, I now included the font "SimSun" in the css (which is installed on in windows and using this font the characters are displayed correctly in word) - and this solved he problem!

Thanks for your help!!

more options

Seems that FF automatically uses MS Mincho to display chinese characters if not other specified on the site while IE, Chrome, etc. use SimSun to display the characters.