> > Can anyone tell me how to convert UTF-8 to UTF-16LE .
>
> Funnily enough that's just what I'm coding right now.
> The encodings are described in Chapter 3 or Unicode, UTF-8 is also described
> RFC 2279 <http://www.ietf.org/rfc/rfc2279.txt> and UTF-16 in RFC 2781
> <http://www.ietf.org/rfc/rfc2781.txt>.

The Unicode Consortium also has available code to do UTF-8 to UTF-16.

You could try this code, http://www.unicode.org/Public/PROGRAMS/CVTUTF/

Also, I'm testing a new version of that code here, if you want to try it:

        http://www.unicode.org/Public/ALPHA/CVTUTF-1-1/

Cheers,
        Rick

Reply via email to