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.00s 2012-02-12 21:03:28.382502. hosted by webfaction.