Skip to content

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

Closed

Description

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

Activity

  1. infinnie commented on Sep 9, 2021

    @infinnie
    Contributor

    I cannot reproduce it.

    VS Code 1.60.0 on Windows 7:

    image

  2. meganrogge commented on Sep 27, 2021

    @meganrogge
    Collaborator

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

  3. meganrogge commented on Sep 27, 2021

    @meganrogge
    Collaborator

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

  4. origin-coding commented on Sep 28, 2021

    @origin-coding
    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

  5. added
    bugIssue identified by VS Code Team member as probable bug
    terminalGeneral terminal issues that don't fall under another label
    and removed
    info-neededIssue requires more information from poster
    on Sep 28, 2021
  6. Tyriar commented on Oct 19, 2021

    @Tyriar
    Contributor

    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

  7. added
    windowsVS Code on Windows issues
    terminal-conptyIntegrated terminal issues related to the ConPTY backend
    upstreamIssue identified as 'upstream' component related (exists outside of VS Code)
    on Oct 19, 2021
  8. locked and limited conversation to collaborators on Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugterminalGeneral terminal issues that don't fall under another labelterminal-conptyIntegrated terminal issues related to the ConPTY backendupstreamIssue identified as 'upstream' component related (exists outside of VS Code)windowsVS Code on Windows issues

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址