VSCodeVim / VSCodeVim/Vim

Cannot type Vietnamese character in VSCodeVim

Open
#3,779 10 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/non-latin-characters
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
To type Vietnamese text, we use an application call Unikey (Link download: https://unikey.vn/download/201807/UniKey-4.2RC4-140823-Setup_x32.exe). However, when enabling VSCodeVim, we cannot type Vietnamese text properly.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://unikey.vn/vietnam/' or download directly Unikey with \https://unikey.vn/download/201807/UniKey-4.2RC4-140823-Setup_x32.exe
  2. Install Unikey, configure: Character Set: Unicode, Input method: Telex
  3. Go to VS Code and start typeing "Tooi yeeu Vieetj Nam"
  4. The proper result should be "Tôi yêu Việt Nam", but mostly the extension provides incorrect text

Expected behavior
Typing these characters "Tooi yeeu Vieetj Nam", the proper text should be "Tôi yêu Việt Nam"

Screenshots
vscode-vim-vietnamese-issue

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.8.0
  • VSCode version: 1.34.0
  • OS: Windows 10

Contributor guide

Open the contributing guide

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

Reproduce the issue in VS Code 1.34.0 on Windows 10 with VSCodeVim 1.8.0 and UniKey configured for Unicode and Telex input. Start by tracing how VSCodeVim handles text input, then verify that typing "Tooi yeeu Vieetj Nam" produces "Tôi yêu Việt Nam" without incorrect text.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.