Set Powershell encoding to UTF-8

This commit is contained in:
Daniel 2021-01-07 12:29:12 +01:00
parent 91e9d06732
commit 9bcb4e5e67

View file

@ -13,7 +13,7 @@ func runPowershellCmd(script string) (output string, err error) {
"powershell.exe",
"-NoProfile",
"-NonInteractive",
script,
"[System.Console]::OutputEncoding = [System.Text.Encoding]::UTF8\n"+script,
)
// Create and assign output buffers.