I don't understand what you mean. In an XML file that says utf-8 in the xml declaration. There could be 4 byte characters later in the file. How should those be treated to convert them to utf-16? Is there some spec which says what to do? Am I missing something? thanks, -- Sigurd Lerstad > * Sigurd Lerstad wrote: > >DOM is always 2 bytes, what happens in an utf-8 file when you encounter a > >character that uses 4 bytes (UCS-4), just ignore the two last bytes? > > Characters > U+FFFF are encoded using surrogate characters in UTF-16. >Received on Saturday, 26 July 2003 16:18:21 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 4 September 2006 18:11:23 GMT