Total characters (not code units) of a String in Java considering Supplementary Characters
How can you obtain the total characters of a String, considering that it could have supplementary characters which takes 2 code units to be encoded.
Example:
String strTest = "a
精彩评论