[issue10920] cp65001, PowerShell, Python crash.

STINNER Victor report at bugs.python.org
Sun Jan 16 23:19:29 CET 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

If the "crash" is the following message, this issue is a duplicate of  #6058.
---
PS D:\jm> c:\python31\python.exe 
Fatal Python error: Py_Initialize: can't initialize sys standard 
streams 
LookupError: unknown encoding: cp65001
---
It is not a crash: Python has no codec for the code page 65001, that's all. I closed #6058 because cp65001 cannot be set as an alias to utf-8. Anyway, use 65001 as console encoding is not a good idea. I close this issue: see #1602 for more information.

----------
resolution:  -> duplicate

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10920>
_______________________________________


More information about the Python-bugs-list mailing list