Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
59.37k stars 3.39k forks source link

Chinese display garbled characters #6119

Open huxiaofeng1983 opened 2 years ago

huxiaofeng1983 commented 2 years ago

When the output Chinese font is displayed on the terminal, the same characters are sometimes displayed normally, and sometimes displayed as "?" garbled characters.

huxiaofeng1983 commented 2 years ago

It seems to be related to the font. I have tried switching several different fonts. The frequency of garbled characters in some fonts will be lower, but this situation cannot be completely avoided.

Lucky7Bin commented 2 years ago

Can the terminal support encoding settings? We need to switch between GBK and UTF8 directly. thx

huxiaofeng1983 commented 2 years ago

Can the terminal support encoding settings? We need to switch between GBK and UTF8 directly. thx

Yes, it would be nice if the encoding could be set.