Open game1991 opened 3 months ago
在launch.json设置里试下
{
"arg": [],
"name": "hello.lua",
"program": "${workspaceFolder}/script/test/hello.lua",
"request": "launch",
"stopOnEntry": true,
"type": "lua",
"console": "integratedTerminal",
"sourceCoding": "utf8",
},
设置了还是没有作用🤦♂️
在windows环境下使用debug功能,使用内置终端,打印中文出现乱码,而且这个编码格式已经设置了utf8,但是没有效果 { "lua.debug.settings.luaVersion": "lua51", "lua.debug.settings.sourceCoding": "utf8", "Lua.runtime.fileEncoding": "utf8", }
显示还是ANSI的编码