Skip to content

Latest commit

 

History

History

Change default code page of Windows console to UTF-8

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)