Preflight Checklist
What's Wrong?
My system environment is Windows 10, Windows Terminal, Git Bash, Claude Code 1.0.109.
When executing commands with Chinese output, the output shows garbled characters.
What Should Happen?
Should display Chinese characters
Error Messages/Logs
Steps to Reproduce
NA
Claude Model
None
Is this a regression?
No, this never worked
Last Working Version
No response
Claude Code Version
1.0.109
Platform
Other
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
This is caused by inconsistencies in the multi-layer encoding chain——the bash end is typically set to UTF-8, while the called native Windows commands/external programs (especially PowerShell 5, cmd tools) use the console code page (OEM/ANSI) or UTF-16/CPxxxx in the pipeline, resulting in a mismatch at both ends, naturally causing byte errors.
You can refer to this issue: google-gemini/gemini-cli#1945
Preflight Checklist
What's Wrong?
My system environment is Windows 10, Windows Terminal, Git Bash, Claude Code 1.0.109.
When executing commands with Chinese output, the output shows garbled characters.
What Should Happen?
Should display Chinese characters
Error Messages/Logs
Steps to Reproduce
NA
Claude Model
None
Is this a regression?
No, this never worked
Last Working Version
No response
Claude Code Version
1.0.109
Platform
Other
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
This is caused by inconsistencies in the multi-layer encoding chain——the bash end is typically set to UTF-8, while the called native Windows commands/external programs (especially PowerShell 5, cmd tools) use the console code page (OEM/ANSI) or UTF-16/CPxxxx in the pipeline, resulting in a mismatch at both ends, naturally causing byte errors.
You can refer to this issue: google-gemini/gemini-cli#1945