[
Lists Home |
Date Index |
Thread Index
]
>
> It gives me something to Google about, "surrogate pairs". I see
> Jaxen has some code to convert them.
There's also code in Saxon - the XMLChar module, borrowed from Xerces.
>
> Am I seeing that with Unicode in Java, you need to work with
> String and not with individual char? That puts a dent in my
> algorithm, which advanced along the characters in the string.
>
Java 5 has reasonable support for Unicode characters above xFFFF, but if you
want your code to work in earlier JDK releases you need to do it yourself.
Michael Kay
http://www.saxonica.com/
|