Message122260
On OSX, _locale.setlocale raise locale.Error with arg 'UTF8' but ok with 'UTF-8'. and setlocale tries to normalize localename with locale.normalize(). and locale.normalize() always change encoding to 'UTF8' (locale.py:646).
So changes in locale.normalize could fix this issue at least on OSX.
patch and unittest against p3k is attached.
I did not search why normalize() changes 'utf_8' to 'UTF8' until now. but I would post if I get answer in subversion log. |
|
Date |
User |
Action |
Args |
2010-11-24 05:08:38 | ruseel | set | recipients:
+ ruseel, belopolsky, ned.deily, r.david.murray, skoczian |
2010-11-24 05:08:38 | ruseel | set | messageid: <1290575318.59.0.563528249638.issue10498@psf.upfronthosting.co.za> |
2010-11-24 05:08:35 | ruseel | link | issue10498 messages |
2010-11-24 05:08:35 | ruseel | create | |
|