This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: title case bug
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: mkimojohnson, rhettinger, tbmetin
Priority: normal Keywords:

Created on 2004-07-21 17:56 by mkimojohnson, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg21745 - (view) Author: Kimo Johnson (mkimojohnson) Date: 2004-07-21 17:56
>>> "I'll be seeing tom's friend".title()
"I'Ll Be Seeing Tom'S Friend"

I would expect:
"I'll Be Seeing Tom's Friend"
msg21746 - (view) Author: Baris Metin (tbmetin) Date: 2004-07-22 07:22
Logged In: YES 
user_id=1045504

We have, the same kind of problem with non-asci characters. 
I've offered a solution in patch #995740 (fix for title case bug: 
#995422). 
msg21747 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-07-22 14:46
Logged In: YES 
user_id=80475

MS Excel shows the exact same behavior.

IIRC, the reason is that the apostrophe is sometimes used as
a quotation mark and that the capitalization conventions
vary from language to language:  J'ai L'addition  etc.

History
Date User Action Args
2022-04-11 14:56:05adminsetgithub: 40613
2004-07-21 17:56:07mkimojohnsoncreate