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

Incorrect display of Chinese characters in Git Bash on Windows #1774

Open
Yue-plus opened this issue Sep 18, 2020 · 5 comments
Open

Incorrect display of Chinese characters in Git Bash on Windows #1774

Yue-plus opened this issue Sep 18, 2020 · 5 comments
Labels
bug Something isn't working p3 Affects a small number of users or is largely cosmetic windows

Comments

@Yue-plus
Copy link

Describe the bug

A clear and concise description of what the bug is. Include version by typing gh --version.

Steps to reproduce the behavior

  1. Type this '...'
  2. View the output '....'
  3. See error

Expected vs actual behavior

A clear and concise description of what you expected to happen and what actually happened.

Logs

Paste the activity from your command line. Redact if needed.

@Yue-plus Yue-plus added the bug Something isn't working label Sep 18, 2020
@Yue-plus
Copy link
Author

QQ图片20200918090230

@Yue-plus
Copy link
Author

$ gh --version
gh version 1.0.0 (2020-09-16)
https://github.com/cli/cli/releases/tag/v1.0.0

@mislav
Copy link
Contributor

mislav commented Sep 18, 2020

Thank you for reporting! Is the PowerShell result or the Git Bash result more closer to what you were expecting to see with Chinese text?

@Yue-plus
Copy link
Author

Display normal in PowerShell。

@mislav mislav added the windows label Sep 18, 2020
@mislav mislav changed the title Cannot display Chinese in Git command line Incorrect display of Chinese characters in Git Bash on Windows Sep 18, 2020
@vilmibm vilmibm added the p3 Affects a small number of users or is largely cosmetic label Sep 30, 2020
@vilmibm vilmibm mentioned this issue Apr 27, 2021
18 tasks
@YoshihikoFuruhashi
Copy link

To avoid this problem, add new profile as Git Bash to Windows Terminal and use it.

Windows Terminal > Ctrl + , (Settings) >Add new profile

$ gh --version
gh version 2.6.0 (2022-03-15)
https://github.com/cli/cli/releases/tag/v2.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p3 Affects a small number of users or is largely cosmetic windows
Projects
None yet
Development

No branches or pull requests

4 participants