CommandCodeAI / CommandCodeAI/command-code

Vietnamese text input renders with corrupted/doubled diacritical marks

未关闭
#405 5 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

p1
主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

报告中没有指出源文件或测试。首先在 Windows 11 上使用 PowerShell 和越南语 Telex 或 VNI 输入,在 VS Code 终端中重现该问题,然后跟踪终端输入渲染路径。对于列出的示例,越南语复合变音符号显示为单个组合字形,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
powershell, vscode
领域
cli, internationalization, operating-systems
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。