toUpperCase
Converts the character (Unicode code point) argument to uppercase using case mapping information from the UnicodeData file.
Note that Character.isUpperCase(Character.toUpperCase(codePoint)) does not always return true for some ranges of characters, particularly those that are symbols or ideographs.
In general, String.toUpperCase should be used to map characters to uppercase. String case mapping methods have several benefits over Character case mapping methods. String case mapping methods can perform locale-sensitive mappings, context-sensitive mappings, and 1:M character mappings, whereas the Character case mapping methods cannot.
Return
the uppercase equivalent of the character, if any; otherwise, the character itself.
Since
1.5
Parameters
the character (Unicode code point) to be converted.