[Windows] Clipboard copy produces garbled Chinese text after v2.1.92 update

Resolved 💬 4 comments Opened Apr 6, 2026 by 2233admin Closed Apr 18, 2026

Description

After updating to Claude Code v2.1.92, copying Chinese text output from the Claude Code desktop app produces garbled characters when pasted elsewhere. The text appears correct in the app but becomes mojibake after copy-paste.

Example: "复制我的输出粘贴到别处 变乱码" becomes "澶嶅埗鎴戠殑杈撳嚭绮樿创鍒板埆澶?鍙樹贡鐮?"

This is UTF-8 bytes being decoded as GBK (CP936) -- a classic double-encoding symptom.

Environment

  • Claude Code: v2.1.92
  • OS: Windows 11 Pro 10.0.26200
  • System ANSI code page: 936 (GBK)
  • Console code page: 65001 (UTF-8)
  • Shell: PowerShell 7
  • System locale: zh_CN (Beta UTF-8 option DISABLED -- required for trading software compatibility)

Reproduction

  1. Run Claude Code desktop app on Windows with zh_CN locale (CP936)
  2. Get any Chinese text output from Claude
  3. Select and copy the text (Ctrl+C)
  4. Paste into any other application (Notepad, browser, etc.)
  5. Result: garbled text (UTF-8 bytes misinterpreted as GBK)

Expected behavior

Copied text should paste as readable Chinese, as it did in previous versions.

Notes

  • Cannot enable system-wide UTF-8 (breaks Chinese trading software that requires GBK)
  • This worked correctly before the v2.1.92 update
  • Text DISPLAYS correctly inside Claude Code -- only clipboard transfer is broken

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗