CommandCodeAI / CommandCodeAI/command-code
Vietnamese text input renders with corrupted/doubled diacritical marks
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 4k
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Description
Summary
When typing Vietnamese text in the terminal input on Windows, characters with compound Unicode diacritics (tone mark + vowel modifier) are rendered incorrectly. The base vowel, modifier, and tone mark appear as separate visible characters instead of a single composed glyph.
Expected Behavior
Vietnamese characters with compound diacritics render as single composed glyphs. For example:
gặpdisplays asgặplỗidisplays aslỗinhữngdisplays asnhững
Actual Behavior
Characters with compound diacritics are split/doubled when typed. Examples of what appears on screen:
gặp→ rendered asgaạpaậplỗi→ rendered aslôiỗinhững→ rendered asnhunữữngcập nhật→ rendered ascâạp nhâật
Screenshot showing the bug:
Steps to reproduce the issue
- Open command-code v0.27.0 in VS Code terminal on Windows 11
- Switch input language to Vietnamese (Telex or VNI input method)
- Type any Vietnamese sentence with compound diacritics, e.g.: gặp lỗi trong những bản cập nhật
- Observe the rendered text in the input field
Command Code Version
v0.27.0
Operating System
Windows
Terminal/IDE
VSCode
Shell
PowerShell
Additional context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is identified in the report. Start by reproducing the issue in the VS Code terminal on Windows 11 with PowerShell and Vietnamese Telex or VNI input, then trace the terminal input-rendering path. Done means compound Vietnamese diacritics render as single composed glyphs for the listed examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, vscode
- Domain
- cli, internationalization, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100