Force UTF-8 output in PowerShell
This commit is contained in:
parent
2a43a3898b
commit
73c8dfeadc
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue