denoland / website_feedback

For reporting issues & suggestions for deno.com and deno.land
9 stars 1 forks source link

Simplified / Traditional Chinese on `deno.land/x/` #62

Open felix-schindler opened 6 months ago

felix-schindler commented 6 months ago

Problem

While looking at x/mysql I noticed a sentence in traditional Chinese characters:

Screenshot 2024-02-03 at 14 05 31

But on the original README on GitHub denodrivers/mysql it's in simplified chinese:

Screenshot 2024-02-03 at 14 04 57

You can test this out yourself by copying the sentence from the x/ website. When copying, you'll end up with the simplified Chinese characters.

Side note

I just wanted to inform you of this but don't expect a fix as

  1. This is somewhat of an niche problem
  2. It's not that much of an problem as many people can guess the characters

Also, I didn't figure out what's causing this issue, but I'm guessing it's the font.

kLiHz commented 4 months ago

Yeah I think it's possibly the font problem.

I inspect into each page using browser's Dev Tool, and it seems that:

On my computer both font stacks fulfilled at "Segoe UI", and both are displaying Simplified Chinese glyphs on my laptop (Firefox, Windows 10). I think it's because I'm using a Simplified Chinese Windows. 😀

I have no idea which OS and browser you're using, but while I was searching "system fonts" on Google, I got this reply under a GitHub issue: https://github.com/necolas/normalize.css/issues/665#issuecomment-625697408

It seems that using system-ui may cause browser's failure to pick up the right fonts. But I didn't do further research so I can't say if this is still the case.

If you're still interested in it, you can open the Dev Tool in your browser and see which font in font-family is fall-backed on. 😃