Re: Locale case change not working

2007-05-24 Thread Clodoaldo
On May 24, 6:40 am, Peter Otten <[EMAIL PROTECTED]> wrote: > Clodoaldo wrote: > > When using unicode the case change works: > > print u'É'.lower() > > é > > > But when using the pt_BR.utf-8 locale it doesn't: > > locale.setlocale(locale.LC_ALL, 'pt_BR.utf-8') > > 'pt_BR.utf-8' > loca

Re: Locale case change not working

2007-05-24 Thread Peter Otten
Clodoaldo wrote: > When using unicode the case change works: > print u'É'.lower() > é > > But when using the pt_BR.utf-8 locale it doesn't: > locale.setlocale(locale.LC_ALL, 'pt_BR.utf-8') > 'pt_BR.utf-8' locale.getlocale() > ('pt_BR', 'utf') print 'É'.lower() > É > > What

Locale case change not working

2007-05-24 Thread Clodoaldo
When using unicode the case change works: >>> print u'É'.lower() é But when using the pt_BR.utf-8 locale it doesn't: >>> locale.setlocale(locale.LC_ALL, 'pt_BR.utf-8') 'pt_BR.utf-8' >>> locale.getlocale() ('pt_BR', 'utf') >>> print 'É'.lower() É What am I missing? I'm in Fedora Core 5 and Pytho