We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bb7b14 commit ef6d972Copy full SHA for ef6d972
src/common/util.ts
@@ -208,7 +208,7 @@ export function spawn(
208
let codepage = "65001";
209
if (os.platform() === "win32") {
210
try {
211
- const chcp = child_process.execSync("chcp.com");
+ const chcp = child_process.execSync(`chcp.com ${codepage}`);
212
codepage = chcp.toString().split(":").pop().trim();
213
} catch (error) {
214
arduinoChannel.warning(`Defaulting to code page 850 because chcp.com failed.\
0 commit comments