VSCODE 运行 lua,打印中文乱码,请问如何设置输出编码?
lua 文件 gbk 编码,打印也是 gbk 编码,已经设置, "files.encoding": "gbk",
{ "version": "0.1.0",
// The command is tsc. Assumes that tsc has been installed using npm install -g typescript
"command": "lua",
// The command is a shell script
"isShellCommand": true,
// Show the output window only if unrecognized errors occur.
"showOutput": "silent",
// args is the HelloWorld program to compile.
"args": ["${file}"],
// use the standard tsc problem matcher to find compile problems
// in the output.
// "problemMatcher": {}
"options": {
"env": {
"LUAENCODING":"GBK"
}
}
}