[issue12632] Windows GPF with Code Page 65001

Bruce Ferris report at bugs.python.org
Mon Jul 25 04:24:49 CEST 2011


New submission from Bruce Ferris <bferris57 at bferris.co.uk>:

The following scenario GPFs on Windows Vista using cmd.exe...

  D:\>python
  Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit
   (Intel)] on win32
  Type "help", "copyright", "credits" or "license" for more information.
  >>> ^Z

  D:\>chcp 65001
  Active code page: 65001

  D:\>python
  Fatal Python error: Py_Initialize: can't initialize sys standard
   streams
  LookupError: unknown encoding: cp65001

  This application has requested the Runtime to terminate it in an 
  unusual way.
  Please contact the application's support team for more information.

  D:\>

This is a bit surprising since Code Page 65001 IS the official Microsoft UTF-8 Code Page.

Please see...

  http://msdn.microsoft.com/en-us/library/dd317756%28v=vs.85%29.aspx

----------
components: Unicode
messages: 141067
nosy: bferris57
priority: normal
severity: normal
status: open
title: Windows GPF with Code Page 65001
versions: Python 3.1

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


More information about the Python-bugs-list mailing list