Note that for Unicode strings, title() uses the Unicode "titlecase" character, not the uppercase version:
>>> u = u"\u01C9"
>>> unicodedata.name(u)
'LATIN SMALL LETTER LJ'
>>> unicodedata.name(u.upper())
'LATIN CAPITAL LETTER LJ'
>>> unicodedata.name(u.title())
'LATIN CAPITAL LETTER L WITH SMALL LETTER J'
Comment:
Note that for Unicode strings, title() uses the Unicode "titlecase" character, not the uppercase version:
Posted by Fredrik (2006-11-13)