unicode.title

 

Comment:

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'

Posted by Fredrik (2006-11-13)

A Django site. this page was rendered by a django application in 0.01s 2010-12-16 18:54:53.548683. hosted by webfaction.