mirror of
https://github.com/safing/portbase
synced 2025-09-02 02:29:59 +00:00
Set Powershell encoding to UTF-8
This commit is contained in:
parent
91e9d06732
commit
9bcb4e5e67
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ func runPowershellCmd(script string) (output string, err error) {
|
||||||
"powershell.exe",
|
"powershell.exe",
|
||||||
"-NoProfile",
|
"-NoProfile",
|
||||||
"-NonInteractive",
|
"-NonInteractive",
|
||||||
script,
|
"[System.Console]::OutputEncoding = [System.Text.Encoding]::UTF8\n"+script,
|
||||||
)
|
)
|
||||||
|
|
||||||
// Create and assign output buffers.
|
// Create and assign output buffers.
|
||||||
|
|
Loading…
Add table
Reference in a new issue