Message90809
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. |
|
Date |
User |
Action |
Args |
2009-07-22 11:45:10 | georg.brandl | set | recipients:
+ georg.brandl, ezio.melotti, r.david.murray, PeterL |
2009-07-22 11:45:10 | georg.brandl | set | messageid: <1248263110.31.0.154299212078.issue6525@psf.upfronthosting.co.za> |
2009-07-22 11:45:08 | georg.brandl | link | issue6525 messages |
2009-07-22 11:45:08 | georg.brandl | create | |
|