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 georg.brandl
Recipients PeterL, ezio.melotti, georg.brandl, r.david.murray
Date 2009-07-22.11:45:08
SpamBayes Score 3.3803084e-05
Marked as misclassified No
Message-id <1248263110.31.0.154299212078.issue6525@psf.upfronthosting.co.za>
In-reply-to
Content
This behavior is not a bug - when setting the locale, string.lowercase
and friends are augmented by whatever the locale considers uppercase and
lowercase letters, as byte strings.  This will lead to decoding errors
when these strings are combined with Unicode strings.

Either you use string.ascii_lowercase and friends, or you make sure you
know what encoding the strings will be in, and decode accordingly.
History
Date User Action Args
2009-07-22 11:45:10georg.brandlsetrecipients: + georg.brandl, ezio.melotti, r.david.murray, PeterL
2009-07-22 11:45:10georg.brandlsetmessageid: <1248263110.31.0.154299212078.issue6525@psf.upfronthosting.co.za>
2009-07-22 11:45:08georg.brandllinkissue6525 messages
2009-07-22 11:45:08georg.brandlcreate