Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot type Vietnamese character in VSCodeVim #3779

Open
jiroakio opened this issue May 17, 2019 · 10 comments
Open

Cannot type Vietnamese character in VSCodeVim #3779

jiroakio opened this issue May 17, 2019 · 10 comments

Comments

@jiroakio
Copy link

jiroakio commented May 17, 2019

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
@kienvu58
Copy link

@jiroakio I found a workaround to type Vietnamese text with VSCodeVim. You can use EVKey (https://evkey.org/#download) instead of Unikey.

@jiroakio
Copy link
Author

jiroakio commented Mar 15, 2020 via email

@ledinhbao
Copy link

Just add more case: I'm using macOS and meet same issue, cannot type any Vietnamese character.
macOS 10.15
OpenKey 2.0.3
VSCode 1.43.0
VsCodeVim 1.13

@manhthang2504
Copy link

I have same problem. Other Vim style plugin works fine, only this VsCodeVim has problem with Unicode Character

@pc223
Copy link

pc223 commented Nov 14, 2020

I have the same problem, this is the only reason I can't switch to this extension yet 😅 (VScode 1.51.1, VSCodeVim 1.17.1)

Elaborate more on the problem:

  • This problem only occurs when enable VSCodeVim extension. Vanilla VScode can handle Vietnamese.
  • The software being used to type Vietnamese (Unikey) works like this, if I type too, Unikey will convert to too<backspace><backspace>ô (This is the correct order to produce the right word ()

So might be something related to how extension.vim_backspace works. Maybe the vim extension sends wrong order of <backspace>, for example, too -> too<backspace>ô<backspace> -> to -> bad!

I did try to force vscode to handle <backspace> to see what happens but no success. Not to sure why 🤔

    // Not working
    "vim.handleKeys": {
         "backspace": false,
    }

Workaround: Maybe try vscode neovim extension

@tbm98
Copy link

tbm98 commented Jul 21, 2021

It seems to work fine at the latest EVKey 3.3.8 and vscodevim 1.21.5

@no-vici
Copy link

no-vici commented May 17, 2023

Have anyone try OpenKey yet? It works beautifully for me on Mac, I have not tried it on Windows but heard many positive feedbacks from other users.

@sam-val
Copy link

sam-val commented Sep 18, 2023

We still have this issue in September 2023 :(

@nmhhao1996
Copy link

I have had the same issue recently with v1.26.0. I tried to downgrade to v1.25.2 and it works fine again now.

@mibi2007
Copy link

I have had the same issue recently with v1.26.0. I tried to downgrade to v1.25.2 and it works fine again now.

The downgrade is working for me, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests