Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character display bug on Windows #3325

Open
yakumo22-r opened this issue Feb 14, 2024 · 3 comments
Open

Character display bug on Windows #3325

yakumo22-r opened this issue Feb 14, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@yakumo22-r
Copy link

Describe the bug
Some non-standard characters, such as Chinese characters, mysteriously disappear.

Screenshots
image
it seem like this

image
When I switch tabs, those characters appear, but then quickly disappear.

Version info:

lazygit --version
commit=5e388e21c8ca6aa883dbcbe45c47f6fdd5116815, build date=2023-08-07T14:05:48Z, build source=binaryRelease, version=0.40.2, os=windows, arch=amd64, git version=2.39.0.windows.2

git --version
git version 2.39.0.windows.2

Additional context
I am a new user who is just trying out lazygit, I can accept the information being displayed in English, but I don't know how to change this setting. My computer system is in Chinese.

@yakumo22-r yakumo22-r added the bug Something isn't working label Feb 14, 2024
@road2coder
Copy link

Switch the language to English for temporary use. (The problem still exists in commit messages with non-standard characters)

gui:
  language: 'en'

Config file location:

  • Linux: ~/.config/lazygit/config.yml
  • MacOS: ~/Library/Application\ Support/lazygit/config.yml
  • Windows: %LOCALAPPDATA%\lazygit\config.yml (default location, but it will also be found in %APPDATA%\lazygit\config.yml

@fzhzhen1987
Copy link

fzhzhen1987 commented Mar 22, 2024

  • Chinese or Japanese characters can be displayed normally in CMD, but they still cannot be displayed properly in Windows Terminal.
  • Chinese or Japanese characters can be displayed normally in Windows Terminal when viewing commit records using ‘tig’.

1111111

Snipaste_2024-03-23_08-33-23

  • The most effective temporary solution is to use version 0.37.0, which can display Japanese and Chinese normally in Windows Terminal.

@stefanhaller
Copy link
Collaborator

@fzhzhen1987 Could you try a master build? This should be fixed by #3352.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants