View Single Post
Old 12-19-2010, 05:09 AM   #558
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by chaley View Post
Quote:
Originally Posted by kiwidude View Post
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 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.
Giving "Sharpe'S Tiger" a second look the OP was talking about going from All Caps to Title case. If you change the example to all caps "SHARPE'S TIGER" then go to title case, all is as expected. So the example pool of where it "fails" going from All Caps to title case is very much smaller then originally thought.

Plus if I don't like "Sharpe'S Tiger" I can right click and change case to all caps then revert back to title case and it is resolved.

Thanks for the clarification chaley.
DoctorOhh is offline