-
Notifications
You must be signed in to change notification settings - Fork 847
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
Japanese character output in Integrated Terminal of Visual Studio Code causes the next prompt out of position after upgrading to Creators Update #1871
Comments
I think this is a known issue right now in the console that was not expectedto be fixed until RS3 (support for 2wide characters). There's another thread that mentions this in the case of Chinese. Edit:Nevermind, support was added in bash, but not in the WinPTY project which is a kind of hackish thing used to attach the console to VSCode |
Actually, this issue is even worse, if your system locale (also referred to as language for non-Unicode programs) isn't one which supports the character set. On a Japanese system this would be Shift-JIS, on a Chinese one GB18030, and ISO-2022-KR on a Korean one, which are mostly not compatible with each other. Changing the system locale requires a reboot to apply. Any characters not included in the character set will show up as question marks (despite font support) and you cannot type them into the terminal (any terminal, Powershell/Command Prompt included) even after setting the application code page to 65000 or 65001 using any input method editor or by copy and pasting the characters from the clipboard. This is massively annoying. Terminal emulation has been messed with to great extent just for Bash compatibility, but this, you actually completely managed to break. Congrats... 😐 @fpqc: No, support was not added in |
I think this is a WinPTY issue, not a conhost one: Looks like rprichard/winpty#105 to me. |
@zadjii-msft Haha that's exactly the test I did, and it was working properly. Mouse selection even works right. |
Closing since this is a very old issue that's likely fixed by now, and is a VSCode/WinPty issue that @Tyriar may have insight into. |
I remember there was an issue like this, pretty sure it was fixed shortly afterwards. |
Japanese character output in Integrated Terminal of Visual Studio Code causes the next prompt out of position after upgrading to Creators Update. This issue is reproducible 100%.
For example,
echo あ
causes the next prompt out of position. The screenshot below is the result ofls -la
with en only, andecho あ
.ls -la
does not cause any problem, butecho あ
causes the next prompt out of position.Japanese character output in Integrated Terminal of Visual Studio Code keeps the next prompt in the correct position.
Japanese character output in Integrated Terminal of Visual Studio Code causes the next prompt out of position.
Version 1703, build 15063.13 (Japanese)
echo あ
-> This causes the next prompt out of position.
I tried repro on the following three environment by Visual Studio Code v1.11.1. By this results, this does not seem to depend on Visual Studio Code, but Creators Update. Can't BoW handle this issue?
OK
OS: build 14393.0
BoW: Ubuntu 14.04
NG
OS: build 15063.13 (upgraded from build 14393.0)
BoW: Ubuntu 14.04 (not upgraded)
NG
OS: build 15063.13
BoW: Ubuntu 16.04
The text was updated successfully, but these errors were encountered: