-
-
Save youngyou/4b7ace011fd82375d20e07ca8e607a45 to your computer and use it in GitHub Desktop.
Set the default en coding to UTF-8 in powershell. As seen in http://blogs.msdn.com/b/powershell/archive/2006/12/11/outputencoding-to-the-rescue.aspx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$OutputEncoding = New-Object -typename System.Text.UTF8Encoding | |
[Console]::OutputEncoding = New-Object -typename System.Text.UTF8Encoding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment