diff --git a/powershell.ts b/powershell.ts index 91b8a76..5953f6c 100644 --- a/powershell.ts +++ b/powershell.ts @@ -26,6 +26,7 @@ export function generate( return `# powershell completion for ${name} -*- shell-script -*- + [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 function __${name}_debug { if ($env:BASH_COMP_DEBUG_FILE) { "$args" | Out-File -Append -FilePath "$env:BASH_COMP_DEBUG_FILE"