unicode bug in turkish characters?

Oktay Safak oktaysafak at ixir.com
Tue Apr 8 08:59:48 CEST 2003

Martin, thank you very much for all your help.



> Ah, I see. Windows. My example was from Linux, where tr_TR is a
> valid locale name.
> Python delegates the toupper call to the operating system. It does not,
> in itself, include a database of lower/upper case conversions for all
> locales.
> So there is nothing we can do about that; ask Microsoft.
> > Locale defaults as determined by getdefaultlocale():
> > ------------------------------------------------------------------------
> > Language:  tr_TR
> > Encoding:  cp1254
> Please understand that getdefaultlocale does *not* determine
> the locale used by the program. Instead, it determines (sometimes)
> the locale that Python would use if you had invoked setlocale
> with "", i.e. asking for the user's preference (sometimes,
> getdefaultlocale just doesn't work).
> Regards,
> Martin

More information about the Python-list mailing list