Marcin,
The code is a bit out of date. I have some routines that have been updated
for the new Unicode standard and some additional optimization that you can
use at: http://www.xnetinc.com/xiua/ This code is not as discrete as the
other but it should not be hard to isolate. You can see that it is a
derivative of the Taligent code.
Carl
> -----Original Message-----
> From: unicode-bounce@unicode.org
> [mailto:unicode-bounce@unicode.org]On Behalf Of Marcin 'Qrczak' Kowalczyk
> Sent: Wednesday, August 22, 2001 3:01 PM
> To: unicode@unicode.org
> Subject: Nonsense in
> http://www.unicode.org/Public/PROGRAMS/CVTUTF/CVTUTF.C?
>
>
> 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?!
>
> --
> __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
> \__/
> ^^ SYGNATURA ZASTĘPCZA
> QRCZAK
>
>
This archive was generated by hypermail 2.1.2 : Wed Aug 22 2001 - 21:57:02 EDT