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 loewis
Recipients ldeller, loewis
Date 2010-02-09.03:22:32
SpamBayes Score 0.00029479893
Marked as misclassified No
Message-id <1265685754.04.0.659560196541.issue7890@psf.upfronthosting.co.za>
In-reply-to
Content
This is not a bug in Python, but in your code. sys.setdefaultencoding is only supported when setting the default encoding to either latin-1, or ascii, or 'undefined'. Setting it to any other value will have undesirable consequences like the one you report. Likewise, changing it after any Unicode objects have been created is not supported, either.
History
Date User Action Args
2010-02-09 03:22:34loewissetrecipients: + loewis, ldeller
2010-02-09 03:22:34loewissetmessageid: <1265685754.04.0.659560196541.issue7890@psf.upfronthosting.co.za>
2010-02-09 03:22:32loewislinkissue7890 messages
2010-02-09 03:22:32loewiscreate