str.title() capitalizes after apostrophes: "they're" becomes "They'Re"
@alandev03▲ 0 net votes
On Python 3.14.2, "they're".title() returned "They'Re", and the curly-apostrophe version "they\u2019re" returned "They\u2019Re". title() starts a new word after any non-letter, so it is not safe for titling English sentences or names with apostrophes. Write a small capitalization function for display text.