[BUG] error typing Vietnamese telex
Resolved 💬 23 comments Opened Sep 21, 2025 by yeucodonvn Closed May 24, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I'm having an error typing Vietnamese telex, I use windows terminal and vscode terminal both have the same problem, copy and paste is still normal, I tried changing the typing method but it doesn't work, I uninstalled Claude Code and reinstalled but it doesn't work
- 1.0.120 (Claude Code)
- windows 11 pro
- windows terminal
- - nodejs v22
https://github.com/user-attachments/assets/556158c0-e883-4415-aca0-f2ba9dae5d94
What Should Happen?
I'm having an error typing Vietnamese telex, I use windows terminal and vscode terminal both have the same problem, copy and paste is still normal, I tried changing the typing method but it doesn't work, I uninstalled Claude Code and reinstalled but it doesn't work
- 1.0.120 (Claude Code)
- windows 11 pro
- windows terminal
- - nodejs v22
Error Messages/Logs
Steps to Reproduce
- run claude code
- type example "hãy sửa code" unicode telex
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
1.0.120 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
23 Comments
same on :
claude code v2.0.14
window 11 pro
nodejs v22.17.1
Same here
https://github.com/trancong12102/claude-code-vime
You can try my script, which has been updated for the latest Claude code version.
I have developed a Vietnamese input engine on macOS to fix this issue in Claude Code and other apps. You can use it here:
https://github.com/khaphanspace/gonhanh.org
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
Thai Language Also Affected
Same issue with Thai language input on macOS.
Environment
Problem
Thai characters with combining vowels and tone marks display incorrectly when typing directly in Claude Code CLI prompt. The vowels get separated from consonants:
What I type: ภาษาไทยพิมพ์ไม่ถูกต้อง
What displays: ภาษาไทยพิ มพ์ ไม่ ถู กต้ อง (spaces inserted between consonants and vowels)
Workaround
Copy/paste works correctly - only direct typing is broken.
Root Cause (Same as Vietnamese)
Thai uses combining characters for:
Claude Code CLI's custom input handling doesn't properly handle these combining characters.
Impact
Affects Thai users who need to communicate in their native language.
+1 for fixing IME/combining character support across all affected languages (Vietnamese, Thai, Korean, Chinese, Japanese, etc.)
Same on
claude code v2.1.20 native
window 11 pro
Same issue here. Windows 11, PowerShell terminal. Vietnamese Telex input - characters like ư, ợ, ơ cannot be typed in Claude Code input row, but work normally in regular PowerShell prompt. Copy-paste works as a workaround. Claude Code version: latest.
xài https://github.com/0x0a0d/fix-vietnamese-claude-code fix được claude bên npm nha
cám ơn nhưng vẫn còn lỗi nếu gõ dấu ở cuối chữ. Mình dùng EVKey
<img width="397" height="75" alt="Image" src="https://github.com/user-attachments/assets/0730568c-3722-421d-927b-1a8872f7e6e4" />
gỡ cài lại thử bác ơi
dùng evkey trên windows telex unicode gõ vẫn mất chữ ạ ví dụ chữ "của"
<img width="1281" height="684" alt="Image" src="https://github.com/user-attachments/assets/d1db41c7-820c-4067-861d-99c5e4a7eb9a" />
+1
Các bạn cài đặt Gõ Nhanh sẽ gõ được nhé. Ngoài Claude Code thì toàn bộ các app khác (Zen, Spotlight, Safari...) cũng hỗ trợ mượt mà
https://github.com/khaphanspace/gonhanh.org
Sếp có kế hoạch cho win và linux không ạ
I've created a fix that addresses the root cause of this issue on Windows: claude-code-vietnamese-fix
Root cause: Vietnamese IMEs (Unikey, OpenKey, EVKey) send backspace + replacement character as separate events. Claude Code's React-based input handler computes cursor state once per render — so multiple rapid backspaces all operate on the same stale state, causing only 1 of N backspaces to take effect.
Fix: Two-layer patch — an outer wrapper buffers rapid backspace events (16ms window) and combines them with the replacement character, then processes everything atomically through the existing
\x7fhandler.One command to apply:
node patch-vietnamese-ime.jsTested with Unikey Telex on Windows 11, Claude Code v2.1.74. Other IMEs (OpenKey, EVKey) and input methods (VNI, VIQR) are untested but should work with the same mechanism.
+1 Confirming this bug on Windows 11 Pro with Claude Code CLI. Vietnamese IME (Unikey/EVKey) causes double characters when typing directly in the TUI — e.g. "xin chào" becomes "xin chaào". Copy-paste works fine as a workaround. The
experimental.input.forceVTWindows Terminal setting does not fix the issue since Claude Code uses its own input handling layer.Update v2.0.1 — now supports the native binary (WinGet, macOS, Linux) in addition to npm install.
Auto-detects whether you have the npm (
cli.js) or binary version and patches accordingly. Tested on Windows 11 with WinGet binary.+1
+1
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.