Vietnamese text input renders with corrupted/doubled diacritical marks

未關閉
#405 5 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
powershell, vscode

研究方向

報告中沒有指出原始檔案或測試。首先在 Windows 11 上使用 PowerShell 和越南語 Telex 或 VNI 輸入,在 VS Code 終端機中重現該問題,然後追蹤終端機輸入的繪製路徑。對於列出的範例,越南語複合附加符號顯示為單一組合字形,即視為完成。

由索引模型根據 Issue 內容生成。

描述

p1
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

主要語言
沒有語言資料
星號
4k
分支
350
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。