Quote:
Originally Posted by kiwidude
Incidentally from my quick checks, I don't think it has been completely resolved. Try a title name like "Sharpe'S Tiger" and do a Title Case update on it - it won't change. Is the behaviour improved over what it was? Absolutely. But completely fixed? No. So people should be aware they may see the odd quirk when relying on the Title Case function.
|
The implementation and rules come from elsewhere. See
http://daringfireball.net/2008/08/title_case_update and
http://muffinresearch.co.uk/archives...ase-in-python/.
Whether or not you think the example above is a quirk depends on your point of view. Clearly the author of the code did not, as the behavior is by design. The author says:
---
The script assumes that words with capitalized letters other than the first character are already correctly capitalized. This means it will leave a word like “iTunes” alone, rather than mangling it into “ITunes” or, worse, “Itunes”.
---
The above notwithstanding, there is no way that this code (or any other code) will always get it right, because 'right' is in the eye of the beholder.