Name: bb33257 Date: 03/05/98
Once surrogate characters start to be defined, Character.getType()
will need to be expanded to take two characters. Internally,
the code will need to be modified to efficiently store the
character properties for surrogates.
For ease of use, String.getType(int position) should also be
added. It would be the equivalent of:
ch = charAt(position);
if (ch >= \uD800 && ch < \uDC00 && position + 1 < length()) {
return Character.getType(ch,charAt(position+1));
} else {
return Character.getType(ch);
}
======================================================================
- duplicates
-
JDK-4284923 Add at least minimal surrogate API.
- Closed
-
JDK-4533872 Unicode supplementary character support (JSR-204)
- Resolved
- relates to
-
JDK-4328816 Unicode 2.0 surrogate support
- Resolved