diff --git a/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 b/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 index a298830..f4af96d 100644 --- a/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 +++ b/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 @@ -72,6 +72,9 @@ if ($IsWindows -or ($env:OS -eq "Windows_NT")) { $env:__COMPAT_LAYER = "RunAsInvoker" } +# Force UTF-8 output. +$OutputEncoding = [System.Text.Encoding]::UTF8 + Set-PSReadlineOption -BellStyle None Set-PSReadlineOption -EditMode Emacs Set-PSReadlineKeyHandler -Key Tab -Function Complete