incorrect upper()/lower() of UTF-8
maxm at mxm.dk
Sat Jun 29 21:09:19 CEST 2002
Martin v. Loewis wrote:
> It might be worth noting that the .upper and .lower methods of the
> Unicode string are not locale-aware. Instead, they work on all
> characters independent of the locale (*).
Ok ... but I have had problems when using the title() method on strings.
It didn't work correctly with Danish Characters. But When I set the
locale for other reasons, the title() worked correctly, or rather as I
That's why I said the locale module should be tried.
regards Max M
More information about the Python-list