dlvhdr / gh-dash

A beautiful CLI dashboard for GitHub 🚀
https://dlvhdr.github.io/gh-dash
MIT License
6.82k stars 195 forks source link

[BUG] preview pane is corrupted when `LANG=ja_JP.UTF-8` #316

Open natsukium opened 7 months ago

natsukium commented 7 months ago

Describe the bug When the LANG environment variable is set to ja_JP.UTF-8, the preview pane becomes corrupted. I'm not familiar with the localization, so I can't determine the exact cause, but this bug is reproducible in all environments I've tested. I haven't tried it, but it's possible that similar problem may occur with other languages as well. For the time being, a workaround is to launch this extension with LANG=C.UTF-8 gh-dash.

To Reproduce

  1. launch gh dash with LANG=ja_JP.UTF-8 gh-dash
  2. open the preview pane

Expected behavior A clear and concise description of what you expected to happen.

Screenshots expected: with LANG=C.UTF-8 expected

actual: with LANG=ja_JP.UTF-8 actual

Desktop (please complete the following information):

ofseed commented 7 months ago

Same for zh_CN.UTF-8 .