| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
PoshChan-Bot (@PoshChan) please retry windows |
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT), successfully started retry of PowerShell-CI-Windows |
Sorry, something went wrong.
|
Interesting, should we do the same for [Console]::InputEncoding too? |
Sorry, something went wrong.
|
Ilya (@iSazonov) discussed that with James Truher (@JamesWTruher), it seems that the code later overwrites it with the unfortunately named $OutputEncoding (which represents the encoding of output that is input to a native command) so it didn't serve any purpose to change that code. |
Sorry, something went wrong.
|
is it not able to type echo € without problems this dialog interrupts the normal text input: cmdlet Write-Output at command pipeline position 1 Supply values for the following parameters: InputObject[0]: € InputObject[1]: € |
Sorry, something went wrong.
|
🎉v7.0.0-preview.6 has been released which incorporates this pull request.:tada: Handy links: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
This is a regression from Windows PowerShell due to a breaking change in .NET Core. If you don't explicitly set StandardOutputEncoding, on .NET Core it defaults to the current code page. Previously, it defaulted to Console.OutputEncoding. Fix is to restore Windows PowerShell behavior by explicitly setting StandardOutputEncoding and StandardErrorEncoding to use Console.OutputEncoding.
PR Context
Fix #10789
PR Checklist