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

Vscode's terminal can't display non-english letters correctly. #132715

Closed
origin-coding opened this issue Sep 9, 2021 · 5 comments
Closed

Vscode's terminal can't display non-english letters correctly. #132715

origin-coding opened this issue Sep 9, 2021 · 5 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues terminal-conpty Integrated terminal issues related to the ConPTY backend upstream Issue identified as 'upstream' component related (exists outside of VS Code) windows VS Code on Windows issues
Milestone

Comments

@origin-coding
Copy link

Issue Type: Bug

  1. Open the terminal and type command "echo 你好世界"
  2. I use powershell as vscode's default shell, however, this bug don't appear when I directly use powershell on desktop.
  3. Also tried "echo こんにちは、世界", seems that this could happen to all non-english letters.

VS Code version: Code 1.60.0 (e7d7e9a, 2021-09-01T10:41:52.311Z)
OS version: Windows_NT x64 6.1.7601
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (4 x 2400)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 3.44GB (0.69GB free)
Process Argv --crash-reporter-id ca1c4cbb-ea30-408c-bd71-f52062f66fa8
Screen Reader no
VM 0%
Extensions (26)
Extension Author (truncated) Version
path-intellisense chr 2.4.0
vscode-eslint dba 2.1.23
vscode-pandoc Dou 0.0.8
prettier-vscode esb 8.1.0
dictionary Exi 0.0.2
code-runner for 0.11.5
todo-tree Gru 0.0.214
vscode-drawio hed 1.6.2
latex-workshop Jam 8.20.2
vscode-leetcode Lee 0.18.0
marp-vscode mar 1.4.0
vscode-filesize mkx 3.1.0
vscode-language-pack-zh-hans MS- 1.60.3
python ms- 2021.9.1191016588
vscode-pylance ms- 2021.9.1
jupyter ms- 2021.8.2041215044
jupyter-keymap ms- 1.0.0
cpptools ms- 1.6.0
material-icon-theme PKi 4.10.0
LiveServer rit 5.6.1
rust rus 0.7.8
markdown-preview-enhanced shd 0.6.0
code-spell-checker str 2.0.4
open-in-browser tec 2.0.0
masm-tasm xsr 0.9.0
markdown-all-in-one yzh 3.4.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
vscextlangct:30333562
binariesv615:30325510
pythonvssor306:30344512
bridge0708:30335490
pygetstartedc2:30360494
bridge0723:30353136
pythonf5test824:30361777
pythonvspyt187:30362782
pydsgst2:30361792
vscus224:30358039
vssid140:30363603

pictures below:
QQ截图20210909123555
QQ截图20210909123624

@infinnie
Copy link
Contributor

infinnie commented Sep 9, 2021

I cannot reproduce it.

VS Code 1.60.0 on Windows 7:

image

@meganrogge
Copy link
Contributor

looks like it is displaying them, but when echoed each character is duplicated

@meganrogge
Copy link
Contributor

can you try to repro this in Insider's and let me know if you can?

@meganrogge meganrogge added the info-needed Issue requires more information from poster label Sep 27, 2021
@origin-coding
Copy link
Author

can you try to repro this in Insider's and let me know if you can?

QQ截图20210928201905

still can reproduce this in insider's

@meganrogge meganrogge added bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues and removed info-needed Issue requires more information from poster labels Sep 28, 2021
@meganrogge meganrogge added this to the Backlog milestone Sep 28, 2021
@Tyriar
Copy link
Member

Tyriar commented Oct 19, 2021

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to our code. As such, I will go ahead and close it. Please try to reproduce in Windows Terminal and report to microsoft/terminal with repro steps.

If you cannot reproduce in Windows Terminal, chances are it's fixed in a later version of Windows. You can read more about how we consume conpty here. Thanks for understanding.

/label upstream terminal-conpty windows

@Tyriar Tyriar closed this as completed Oct 19, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Dec 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues terminal-conpty Integrated terminal issues related to the ConPTY backend upstream Issue identified as 'upstream' component related (exists outside of VS Code) windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

5 participants
@Tyriar @infinnie @meganrogge @origin-coding and others