1

After reading a lot of questions about problems with output encoding in Powershell (with Python) (1, 2, 3, 4, 5, etc.) I thought why not to switch to UTF8 from beginning in my profile. Do you see any obstacles with this? Does someone use this and how successfully?

# Default encoding to UTF8
chcp 65001
[System.Console]::OutputEncoding = [System.Text.Encoding]::UTF8
[System.Console]::InputEncoding = [System.Text.Encoding]::UTF8
Community
  • 1
  • 1
Artyom
  • 3,507
  • 2
  • 34
  • 67

0 Answers0