You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Integrated Terminal can not display and input Chinese word #8892
@wzyplus this is related to the font, do you have a custom font set for the terminal? The editor's font should be the fallback which is expected to work.
@wzyplus can you try toggling dev tools on vscode (Help > Toggle Developer Tools), inspecting the span/div containing the ?????? (using cursor button in top-left corner of dev tools) and get the paste in both the contents of the element and the computed font-family style?
FYI on the input side of things I've put out a PR which is mostly done, I still need to verify it on multiple-character IME compositions though, such as in Japanese. I'm not familiar with the Chinese IME systems but I think it's likely covered by the Korean/Japanese cases. xtermjs/xterm.js#175
This should hopefully land in Insiders in about a week.
alexandrudima I think this issue is related to text encoding rather than the IME.
I'm familiar with Japanese and Korean IMEs from language learning so I used that experience when implementing support (which is in stable now). Peng Lyu (@rebornix) did tests for Chinese, I don't think Vietnamese was tested though. You can check out xtermjs/xterm.js#175 for the testing I did before endgame.
vs code: 1.6.0
Can not display Chinese character in git log on windows 7,
but it displays folder with Chinese character correctly.
I tried both cmd.exe & git bash.exe
Activity
ZCShou commentedon Jul 8, 2016
Can Display but can not input on Windows 10!
Tyriar commentedon Jul 8, 2016
@wzyplus this is related to the font, do you have a custom font set for the terminal? The editor's font should be the fallback which is expected to work.
ZCShou (@ZCShou) see #7045
ZCShou commentedon Jul 9, 2016
Daniel Imms (@Tyriar) font set for the terminal is default,but IME is not
archer-trek commentedon Jul 10, 2016
Daniel Imms (@Tyriar) No, I didn't change the font of the terminal. But changed the editor's font to
Consolas.Tyriar commentedon Jul 11, 2016
@wzyplus Does the problem go away if you use the default
editor.fontFamilyfallbacks?archer-trek commentedon Jul 12, 2016
Daniel Imms (@Tyriar) No, it doesn't work.
Tyriar commentedon Jul 12, 2016
@wzyplus can you setup xterm.js and see if you can reproduce it in the demo?
archer-trek commentedon Jul 12, 2016
Daniel Imms (@Tyriar) Can display but can't input.
Tyriar commentedon Jul 12, 2016
@wzyplus can you try toggling dev tools on vscode (Help > Toggle Developer Tools), inspecting the span/div containing the
??????(using cursor button in top-left corner of dev tools) and get the paste in both the contents of the element and the computed font-family style?Inspect button:
Computed styles tab:
archer-trek commentedon Jul 13, 2016
Daniel Imms (@Tyriar)
ZCShou commentedon Jul 14, 2016
Daniel Imms (@Tyriar) So does on Win10! But The lastest version can copy & paste!I have a .gif file, but upload failed!
Tyriar commentedon Jul 14, 2016
FYI on the input side of things I've put out a PR which is mostly done, I still need to verify it on multiple-character IME compositions though, such as in Japanese. I'm not familiar with the Chinese IME systems but I think it's likely covered by the Korean/Japanese cases. xtermjs/xterm.js#175
This should hopefully land in Insiders in about a week.
alexdima commentedon Aug 16, 2016
Daniel Imms (@Tyriar) Here is a wiki page I put together from various sources with examples and detailed steps on how different input methods should work, considering Word as the golden standard: https://github.com/Microsoft/vscode/wiki/IME-Test
Tyriar commentedon Aug 16, 2016
alexandrudima I think this issue is related to text encoding rather than the IME.
I'm familiar with Japanese and Korean IMEs from language learning so I used that experience when implementing support (which is in stable now). Peng Lyu (@rebornix) did tests for Chinese, I don't think Vietnamese was tested though. You can check out xtermjs/xterm.js#175 for the testing I did before endgame.
Thanks for the resource 👍
yangg commentedon Oct 13, 2016
vs code: 1.6.0
Can not display Chinese character in git log on windows 7,
but it displays folder with Chinese character correctly.
I tried both cmd.exe & git bash.exe
Tyriar commentedon Apr 20, 2017
The situation for this should be better now as
$LANGis being set.