CommandCodeAI / CommandCodeAI/command-code

Vietnamese text input renders with corrupted/doubled diacritical marks

オープン
#405 コメント 5 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

レポートでは、ソースファイルもテストも特定されていません。まず、Windows 11 上の VS Code ターミナルで、PowerShell とベトナム語の Telex または VNI 入力を使用して問題を再現し、その後、ターミナル入力のレンダリングパスを追跡してください。完了条件は、一覧にある例について、ベトナム語の複合ダイアクリティカルマークが単一の合成グリフとして表示されることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
powershell, vscode
領域
cli, internationalization, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。