From fe274d4b694c3a78ffdd3f7bb9b4a417f38ffc26 Mon Sep 17 00:00:00 2001 From: Eric Dong Date: Mon, 16 Nov 2020 00:35:23 -0800 Subject: [PATCH] Set lang="zh-Hant-TW" on the element. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/dev.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev.html b/src/dev.html index d68d8591..2c641d13 100644 --- a/src/dev.html +++ b/src/dev.html @@ -1,5 +1,5 @@ - + <%= process.env.PTTCHROME_PAGE_TITLE %>