Breaking: Windows: Set code page of command batch script to UTF-8
This commit is contained in:
parent
30cd59a0c5
commit
6a0577a387
1 changed files with 2 additions and 0 deletions
2
index.js
2
index.js
|
@ -557,6 +557,8 @@ function WindowsWriteCommandScript(instance, end) {
|
|||
}
|
||||
var script = [];
|
||||
script.push('@echo off');
|
||||
// Set code page to UTF-8:
|
||||
script.push('chcp 65001>nul');
|
||||
script.push('cd "' + cwd + '"');
|
||||
script.push(instance.command);
|
||||
script = script.join('\r\n');
|
||||
|
|
Loading…
Reference in a new issue