Re: [xml-dev] ANN: Gorille 0.3

From
David Brownell <>
To
Elliotte Rusty Harold <>,
Date
2002-01-10T22:37:31Z
ID
<203901c19a27$6439dbc0$>
Thread
Re: [xml-dev] ANN: Gorille 0.3
>    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.

- Dave