Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

Korean could not be displayed properly without "lang=KO" attribute

  • 4 одговорa
  • 1 има овај проблем
  • 2 прегледа
  • Последњи одговор послао lamons.n

more options

Just noticed all Korean characters could not be displayed properly in my Firefox (macOS 11.4 + FireFox 89.0.2 (64-bit)) and totally unreadable. The language setting of my browser is English (United Kingdom), I have tried to switch the language but couldn't make difference. All font settings remain default. If I manually add "lang=KO" attribute in the text's container elemnts in developer tool, the Korean will be displayed correctly, but I don't know how to solve this by tweaking settings.

Just noticed all Korean characters could not be displayed properly in my Firefox (macOS 11.4 + FireFox 89.0.2 (64-bit)) and totally unreadable. The language setting of my browser is English (United Kingdom), I have tried to switch the language but couldn't make difference. All font settings remain default. If I manually add "lang=KO" attribute in the text's container elemnts in developer tool, the Korean will be displayed correctly, but I don't know how to solve this by tweaking settings.
Приложени снимци екрана

Сви одговори (4)

more options

No problems here with that webpage.

It use Unicode (utf-8) and there shouldn't be a problem.

It looks that in your case there is a problem with the font that is used.

You can compare the actual font that is used in both cases.

You can right-click and select "Inspect Element" to open the builtin Inspector with this element selected.

You can check in the Rules tab in the right panel in the Inspector what font-family is used for selected text. You can check in the Font tab in the right panel in the Inspector what font is actually used because Firefox might be using a different font than specified by the website.

more options

cor-el said

You can check in the Rules tab in the right panel in the Inspector what font-family is used for selected text. You can check in the Font tab in the right panel in the Inspector what font is actually used because Firefox might be using a different font than specified by the website.

Hi cor-el, thanks for your help!

I have checked the actually font that used for Korean characters in this page in my case, it is Heiti SC (the related CSS selector is just "sans-serif"), which is a Chinese font that clearly shouldn't be used for this. I have checked other webpages with Korean and it seems have the same issue.

However, Heiti SC is not configered as default Korean font, or Chinese font in my browser (all font settings are remain default), so I still can't figure out why this font is used to diplay Korean.

more options

Some prefs that you can try to modify on the about:config page.

layout.css.font-visibility.level = 3 Visibility level of font families available to CSS font-matching:

1 - only base system fonts
2 - also fonts from optional language packs
3 - also user-installed fonts

layout.css.font-variations.enabled = true


more options

The "layout.css.font-variations.enabled" has been "true" already. I have changed the "layout.css.font-visibility.level" to 1 but same issue still occure, I believe Heiti SC is an font that came with the system.