This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ncoghlan, serhiy.storchaka, vstinner
Date 2013-08-23.06:45:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377240348.58.0.0824436318174.issue18818@psf.upfronthosting.co.za>
In-reply-to
Content
$ PYTHONIOENCODING= ./python
Fatal Python error: Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: 
Aborted (core dumped)

As a consequence we can't set only the error handler.

$ PYTHONIOENCODING=:surrogateescape ./python
Fatal Python error: Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: 
Aborted (core dumped)

Here is a patch which allows accepting empty encoding as default encoding.
History
Date User Action Args
2013-08-23 06:45:48serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, vstinner
2013-08-23 06:45:48serhiy.storchakasetmessageid: <1377240348.58.0.0824436318174.issue18818@psf.upfronthosting.co.za>
2013-08-23 06:45:48serhiy.storchakalinkissue18818 messages
2013-08-23 06:45:48serhiy.storchakacreate