[Bug 5054] Unicode character in K2-StringLT-1

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5054





------- Comment #1 from mike@saxonica.com  2007-09-18 12:57 -------
I think the translation of the query into XQueryX was done incorrectly. From
looking at the file at the octet level, the first operand is the octet sequence
ee a9 a0, the second is f0 91 85 b0. These are the UTF-8 representations of the
characters with codepoints (decimal) 60000 and 70000 respectively. Codepoint
70000 will be represented in UTF-16 as a surrogate pair, and it looks as if
your translation has taken the first 16 bits of the surrogate pair as
representing the entire character. 

Received on Tuesday, 18 September 2007 12:57:59 UTC