Lists Home |
Date Index |
> Surrogate pairs are one of the things a good class
> library should hide from you.
If you always work in terms of strings or character arrays
(or StringBuffer) they ARE hidden ... just like the other
"multi-byte" character cases, like combining characters.
The problem is in developer assumptions that characters
are always a Java "char". That's true in enough cases
that it causes problems, since beginners rarely learn that
it's not always true, but IMO that's just a teaching problem.