From: "Marcin 'Qrczak' Kowalczyk" <[EMAIL PROTECTED]>

> Functions ConvertUCS4toUTF8 and ConvertUTF8toUCS4 use surrogates
> in UCS4. In particular ConvertUTF8toUCS4 converts a character above
> U+FFFF into two UCS4 words. Why is this absurd there?!

UCS-4 has no knowledge of surrogate code points or their significance; it is
ap urely algorithmic conversion. Not sure why the results would be so
surprising, given this?

Of course it makes the idea of keeping the functions around a lot less
intelligent. :-)

MichKa

Michael Kaplan
Trigeminal Software, Inc.
http://www.trigeminal.com/



Reply via email to