cyd01 / KiTTY

:computer: KiTTY, a free telnet/ssh client for Windows
https://www.9bis.com/kitty
Other
1.6k stars 136 forks source link

Not all UTF-8 box drawing characters display correctly #327

Open smprather opened 3 years ago

smprather commented 3 years ago

Hi @cyd01

I am trying to render tables using the Ruby gem terminal-table. However, some of the characters display correctly, and some don't. After some experimenting w/ vim in utf-8 mode, and also printing the utf-8 line drawing table from terminal-table, I can only pin the bug on KiTTY (and/or PuTTY).

When I draw the characters in, for example, gnome-terminal, they all show up fine (utf-8 font encoding selected in config).

I have tried all sorts of random font encondings and selections on the window/translation config panel. Nothing works.

I use 'hack' font. I used a font viewer to guarantee that the characters are available in the font. I also tried many other fonts (Source Code Pro, consolas, Monoid, etc). All same results. The broken characters all display as an _ character.

Thanks! --Myles

2021-10-12 00_01_56-scv-rve012 (scv-rve012-vm14_2 (vendor_mylesp)) - VNC Viewer

2021-10-12 00_03_25-rve012

2021-10-12 00_06_15-rve001

smprather commented 3 years ago

I tried the test in Windows Terminal. It works. Is the solution in here?

https://docs.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page