mintty / wsltty

Mintty as a terminal for Bash on Ubuntu on Windows / WSL
Other
3.12k stars 104 forks source link

Locale setting with unexpected character encoding #289

Closed offero closed 3 years ago

offero commented 3 years ago

3.3 used to display my fonts just fine. An upgrade to 3.5 causes it to not do so. I'm not sure why. You can see how it's supposed to look in the picture.

image

image

image

Biswa96 commented 3 years ago

How can I reproduce this issue?

mintty commented 3 years ago

Lambda displays fine here. There must be something else in your environment that affects this. Information insufficient. Your locale settings (in mintty and in the Linux shell) etc. There were some fixes about locale handling in 3.4.3 and in 3.4.1. Can you narrow down the change to one of these versions?

offero commented 3 years ago

Ahha, that was the hint I needed, the locale... the setting was unset/blank after the upgrade. When I selected UTF-8 again, it's back to normal.

image

Thanks

mintty commented 3 years ago

I guess you had accidentally cleared the Charset setting but left a Locale setting in place. This may yield the unexpected result of the implicit character encoding by the locale (without suffix), which is not UTF-8 in most cases. I have added notes about it in the manual and the wiki Tips page.