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

Cannot support Unicode or Chinese characters! #7539

Closed
hez2010 opened this issue Jun 10, 2016 · 1 comment
Closed

Cannot support Unicode or Chinese characters! #7539

hez2010 opened this issue Jun 10, 2016 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) tasks Task system issues

Comments

@hez2010
Copy link

hez2010 commented Jun 10, 2016

  • VSCode Version:1.2.0
  • OS Version: Windows 10 1511

Steps to Reproduce:

  1. install C++ extension
  2. create a c++ file with blankspace or Unicode or Chinese character in the filedir or filename
  3. compile by using vscode command (use my own compiling batch script which will echo the filename)
  4. garbled characters appear in the output panel, and cannot debug normally(cannot open source code file when meet the breakpoint)

This illustrates that VSCode can not support Unicode or Chinese character completely. Please add complete support to those character. Thank u!

8888

compiling batch script code:
`@echo off
rem ----config----
set directory="C:\Program Files (x86)\MinGW64"
rem --------------

echo Compiling...
set "directory=%directory:"=%"

if exist "%directory%\bin\g++.exe" (
path="%directory%\bin"
cd /d "%directory%"
echo MinGW64 Directory: "%directory%"
echo g++.exe %1 -o %2 -g3
bin\g++.exe %1 -o %2 -g3
echo Complete!
exit
)

echo Please correctly config the MinGW64 Directory in Compile.bat!
`

launch.json:
{ "version": "0.2.0", "configurations": [ { "name": "C++ Launch (GDB)", "type": "cppdbg", "request": "launch", "launchOptionType": "Local", "targetArchitecture": "x64", "program": "${workspaceRoot}/a.exe", "args": [], "stopAtEntry": false, "cwd": "${workspaceRoot}", "environment": [], "externalConsole": true, "miDebuggerPath": "C:\\Program Files (x86)\\MinGW64\\bin\\gdb.exe" } ] }

tasks.json:
{ "version": "0.1.0", "command": "${workspaceRoot}\\.vscode\\Compile.bat", "isShellCommand": true, "args": ["${file}","${workspaceRoot}\\a.exe"], "showOutput": "always" }

@dbaeumer
Copy link
Member

Dups #3550.

@dbaeumer dbaeumer added tasks Task system issues *duplicate Issue identified as a duplicate of another issue(s) labels Jun 13, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
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) tasks Task system issues
Projects
None yet
Development

No branches or pull requests

2 participants