CommandCodeAI / CommandCodeAI/command-code

Vietnamese text input renders with corrupted/doubled diacritical marks

Open
#405 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

p1
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ặp displays as gặp
  • lỗi displays as lỗi
  • những displays as những
Actual Behavior

Characters with compound diacritics are split/doubled when typed. Examples of what appears on screen:

  • gặp → rendered as gaạpaập
  • lỗi → rendered as lôiỗi
  • những → rendered as nhunữững
  • cập nhật → rendered as câạp nhâật

Screenshot showing the bug:
Image

Steps to reproduce the issue
  1. Open command-code v0.27.0 in VS Code terminal on Windows 11
  2. Switch input language to Vietnamese (Telex or VNI input method)
  3. Type any Vietnamese sentence with compound diacritics, e.g.: gặp lỗi trong những bản cập nhật
  4. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.