Closed CNMan closed 7 years ago
@CNMan Which OS are you using?
windows server 2012 r2 windows server 2016 tp5
Hi @CNMan , thanks for your info. I could repro this issue but I would hold on the bug fix or feature development for now because:
powershell, bat/cmd, bash/sh
but also supports other script language like js, php, python, perl, ruby, go, lua, groovy
even F#, C#
.Therefore, I suggest you to use Code Runner. The issue should not exist in this extension. Look forward to your feedback!
uninstall Terminal and install Code Runner,but has same issue.
Could you let me know your locale setting?
Hi @CNMan , I found a workaround for this issue (though make the output be English instead of Chinese). Anyway, it eliminates the messy code. The workaround is to update the config for bat of code-runner.executorMap
{
"code-runner.executorMap": {
"bat": "chcp 65001 |"
}
}
Refer to stackoverflow, #2190 and #2196
Hi @CNMan , as another option, you could use Code Runner to run it in built-in terminal:
{
"code-runner.runInTerminal": true
}