Terminal prints broken on macOS with ko_KR locale
sinoru opened this issue · comments
Looks like the issue could be with fillStr and selectedFillStr
It sounds as if your terminal font might have a different Korean/CJK rendering for both box drawings horizontal light and em-dash between the locales.
What is your Terminal font and character set?
What is your Terminal font and character set?
I'm using SF mono on iTerm2, It's character set is probably UTF-8.
Looks iTerm2 has an faq entry that might solve this:
Q: The fonts are looking weird. What should I do?
A: iTerm2 lets you to specify two fonts. If you only use English or western european languages, you probably only need to set the font for ASCII characters. For other languages, you need to specify a font that works with your language as the Non-ASCII font. You need to make sure the size (height) of two fonts do not differ greatly, so iTerm2 won't display a mess of mixed glyphs.Q: Some characters appear to be twice as wide as others, and things aren't lining up correctly.
Q: I'm a Chinese, Japanese, or Korean user and some characters don't line up because they are not rendered in double-width.
A: Go to Preferences > Profiles > Text and change the setting of "Treat ambiguous-width characters as double-width."