KiTTY icon indicating copy to clipboard operation
KiTTY copied to clipboard

Not all UTF-8 box drawing characters display correctly

Open smprather opened this issue 2 years ago • 1 comments

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 avatar Oct 12 '21 05:10 smprather

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

smprather avatar Oct 18 '21 14:10 smprather