What's the difference between Character.toUpperCase() and Character.toTitleCase()
问题 I was refactoring some of my old code and then I found out that I'd used Character.toTitleCase() method at some point and couldn't help myself wondering if Character.toUpperCase() would be better. I read their descriptions and didn't see any basic difference: toUpperCase Converts the character argument to uppercase using case mapping information from the UnicodeData file. Note that Character.isUpperCase(Character.toUpperCase(ch)) does not always return true for some ranges of characters,