[ python-Bugs-1327233 ] title() uppercases latin1 strings after accented letters

SourceForge.net noreply at sourceforge.net
Sat Oct 15 02:08:47 CEST 2005


Bugs item #1327233, was opened at 2005-10-14 21:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1327233&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Humberto Diógenes (virtualspirit)
Assigned to: Nobody/Anonymous (nobody)
Summary: title() uppercases latin1 strings after accented letters

Initial Comment:
When using latin1, the title() method of strings considers accented 
letters as word separators. The same thing doesn't happen with 
unicode strings:

>>> print u'diógenes'.title()
Diógenes
>>> print 'diógenes'.title()
DióGenes


I'm using Python 2.4.2 on Ubuntu Breezy with 'utf-8' as default 
encoding.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1327233&group_id=5470


More information about the Python-bugs-list mailing list