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

Pasting gb18030 string in integrated terminal modifies the string. #189963

Closed
Erarndt opened this issue Aug 8, 2023 · 1 comment
Closed

Pasting gb18030 string in integrated terminal modifies the string. #189963

Erarndt opened this issue Aug 8, 2023 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) terminal-rendering

Comments

@Erarndt
Copy link

Erarndt commented Aug 8, 2023

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version: Win 11
    Version: 1.81.0 (user setup)
    Commit: 6445d93
    Date: 2023-08-02T12:37:13.485Z
    Electron: 22.3.18
    ElectronBuildId: 22689846
    Chromium: 108.0.5359.215
    Node.js: 16.17.1
    V8: 10.8.168.25-electron.0
    OS: Windows_NT x64 10.0.22621

Steps to Reproduce:

  1. Open a powershell instance in an empty directory
  2. Run dotnet new sln --name MySolution
  3. Run dotnet new console --output "ᠮᠣᠩᠭᠣᠯ ᠦᠰᠦᠭ བོད་ཡིག ۋېڭكقق ھس قك كدسدق د ꆈꌠꁱꂷ"
  4. Run dotnet new console --output "ᥘᥣᥭᥰ ᥖᥭᥰ ᥖᥬᥲᥑᥨᥒᥰ ᦎᦷᦑᦺᦖᦺᧈᦉᦲᧇᦉᦸᧂᦗᧃᦓᦱ"
  5. Open the folder in VS Code
  6. Run dotnet add '.\ᠮᠣᠩᠭᠣᠯ ᠦᠰᠦᠭ བོད་ཡིག ۋېڭكقق ھس قك كدسدق د ꆈꌠꁱꂷ\ᠮᠣᠩᠭᠣᠯ ᠦᠰᠦᠭ བོད་ཡིག ۋېڭكقق ھس قك كدسدق د ꆈꌠꁱꂷ.csproj' reference '.\ᥘᥣᥭᥰ ᥖᥭᥰ ᥖᥬᥲᥑᥨᥒᥰ ᦎᦷᦑᦺᦖᦺᧈᦉᦲᧇᦉᦸᧂᦗᧃᦓᦱ\ᥘᥣᥭᥰ ᥖᥭᥰ ᥖᥬᥲᥑᥨᥒᥰ ᦎᦷᦑᦺᦖᦺᧈᦉᦲᧇᦉᦸᧂᦗᧃᦓᦱ.csproj' in the integrated terminal. It should complete correctly but the message may be incorrect (e.g. Reference '..\???? ??? ??????? ?????????????????\???? ??? ??????? ?????????????????.csproj' added to the project.). Note: add the project paths using tab completion. Pasting the command can fail (see below).
  7. Remove the project reference to ᥘᥣᥭᥰ ᥖᥭᥰ ᥖᥬᥲᥑᥨᥒᥰ ᦎᦷᦑᦺᦖᦺᧈᦉᦲᧇᦉᦸᧂᦗᧃᦓᦱ.csproj inside of project file ᠮᠣᠩᠭᠣᠯ ᠦᠰᠦᠭ བོད་ཡིག ۋېڭكقق ھس قك كدسدق د ꆈꌠꁱꂷ.csproj
  8. Copy the previous dotnet add [proj1] reference [proj2] command from the integrated terminal
  9. Paste the command using ctrl + v
  10. The text is identical to the previous command and runs correctly
  11. Delete the project reference again
  12. Paste the command via right-click. Notice that the text is different.
  13. Running the command fails because the project could not be found

image

@vscodenpa vscodenpa added *english-please Issue not using English and removed *english-please Issue not using English labels Aug 8, 2023
@meganrogge meganrogge assigned Tyriar and unassigned meganrogge Aug 8, 2023
@Tyriar
Copy link
Member

Tyriar commented Aug 8, 2023

/duplicate xtermjs/xterm.js#701

@Tyriar Tyriar closed this as completed Aug 8, 2023
@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 8, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) terminal-rendering
Projects
None yet
Development

No branches or pull requests

4 participants