Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set lang="zh-Hant-TW" on the <html> element. #75

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

edong
Copy link

@edong edong commented Nov 16, 2020

Setting the lang attribute to "zh-Hant-TW" (Traditional Chinese, Taiwan) hints to the browser that it should use a font suitable for Traditional Chinese in Taiwan.

Here are two screenshots taken on Chrome OS, where the OS language is set to English, from before and after this change:
Before: http://imgur.com/a/tveIe4S, which shows traditional characters from a font designed for China.
After: https://imgur.com/a/WUCK72d, which shows traditional characters from a font designed for Taiwan.

Note the differences in the top-right quadrant of "鍋" and in the last stroke of "亮", among others.

Setting the lang attribute to "zh-Hant-TW" (Traditional Chinese, Taiwan) hints to the browser that it should use a font suitable for Traditional Chinese in Taiwan.

Here are two screenshots taken on Chrome OS, where the OS language is set to English, from before and after this change:
Before: http://imgur.com/a/tveIe4S, which shows traditional characters from a font designed for China.
After: https://imgur.com/a/WUCK72d, which shows traditional characters from a font designed for Taiwan.

Note the differences in the top-right quadrant of "鍋" and in the last stroke of "亮", among others.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant