Skip to content

fix: set utf8 locale for terminal apps - #66

Merged
qfxiongbinbin merged 1 commit into
mainfrom
fix/terminal-utf8-locale
Apr 16, 2026
Merged

qfxiongbinbin merged 1 commit into
mainfrom
fix/terminal-utf8-locale

Conversation

@qfxiongbinbin

Copy link
Copy Markdown
Owner

What changed

  • set LC_ALL=en_US.UTF-8 for local terminal sessions when missing or non-UTF-8
  • keep LANG and LC_CTYPE aligned to UTF-8
  • set COLORTERM=truecolor when missing

Why

Chinese input works in a fresh terminal, but fails after launching claude interactive mode. This patch focuses on terminal app locale/env compatibility instead of only frontend input handling.

@qfxiongbinbin
qfxiongbinbin merged commit 5398ec1 into main Apr 16, 2026
@qfxiongbinbin
qfxiongbinbin deleted the fix/terminal-utf8-locale branch April 16, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant