On 13 Nov 2003, at 13:12, Julian Reschke wrote:
Stefano Mazzocchi wrote:
I did. So this is definately a JDOM bug now. Sorry for the noise :-(
Maybe tis helps: a Java-based XML processor usually uses Java characters, and those are (most of the time?) 16 bit values, hence Unicode characters beyond 0x10000 will be reported as surrogate pair (two chars).
This is correct, and no problem at all.
I except the problem occurs when Java text containing surrogate pairs is then serialized back to an XML stream (where the surrogate pair needs to be replaced by a single Unicode character).
thanks for the suggestion!
-- Stefano.
smime.p7s
Description: S/MIME cryptographic signature
