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 vstinner
Recipients Arfrever, Nicholas.Cole, akuchling, cben, gpolo, inigoserna, nadeem.vawda, python-dev, r.david.murray, schodet, vstinner, zeha
Date 2011-09-06.00:05:08
SpamBayes Score 3.6786038e-05
Marked as misclassified No
Message-id <1315267509.03.0.237118904268.issue12567@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure that it is correct to call nl_langinfo(CODESET) to get the locale encoding. The LC_CTYPE locale should maybe be set temporary to the current locale (""), as does locale.getpreferredencoding(). Or maybe better, locale.getpreferredencoding() should be called.
History
Date User Action Args
2011-09-06 00:05:09vstinnersetrecipients: + vstinner, akuchling, cben, nadeem.vawda, gpolo, Arfrever, r.david.murray, inigoserna, zeha, schodet, python-dev, Nicholas.Cole
2011-09-06 00:05:09vstinnersetmessageid: <1315267509.03.0.237118904268.issue12567@psf.upfronthosting.co.za>
2011-09-06 00:05:08vstinnerlinkissue12567 messages
2011-09-06 00:05:08vstinnercreate