We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ff67c2 commit 3f5b30aCopy full SHA for 3f5b30a
src/terminal.js
@@ -19,10 +19,15 @@ export default class PIOTerminal {
19
envClone.PATH = process.env.PLATFORMIO_PATH;
20
envClone.Path = process.env.PLATFORMIO_PATH;
21
}
22
- return vscode.window.createTerminal({
+ const terminal = vscode.window.createTerminal({
23
name: 'pioarduino CLI',
24
env: envClone,
25
});
26
+ // Set Codepage to UTF-8, if Windows is used
27
+ if (process.platform === "win32") {
28
+ terminal.sendText('chcp 65001');
29
+ }
30
+ return terminal;
31
32
33
sendText(text) {
0 commit comments