Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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

  • 3 відповіді
  • 1 має цю проблему
  • 5 переглядів
  • Остання відповідь від fschoellhammer

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.