Change default code page of Windows console to UTF-8
- Start -> Run -> regedit
- Go to [HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\Autorun]
- Change the value to chcp 65001
print(sys.stdout.encoding)
Change default code page of Windows console to UTF-8
print(sys.stdout.encoding)