Issue 995422: title case bug (original) (raw)

Issue995422

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:05 admin set github: 40613
2004-07-21 17:56:07 mkimojohnson create