Re: UTF-8 to UTF-16LE

From: Philippe Verdy (verdy_p@wanadoo.fr)
Date: Tue Jul 08 2003 - 07:42:24 EDT

  • Next message: Philippe Verdy: "Re: UTF-8 to UTF-16LE"

    On Tuesday, July 08, 2003 12:49 PM, santhosh kumar <santhoshkumar_mk@hotmail.com> wrote:

    > Hello,
    > I am new to this group. Now I am working in OBEX profile
    > design in Windows platform. I have some issues with XML parsing.
    > According to XML the default encoding scheme is UTF-8. But I want to
    > convert it in to UTF16-LE. Can anyone tell me how to convert UTF-8 to
    > UTF-16LE .

    See Chapter 3 (preview) of the Unicode 4 standard:
    http://www.unicode.org/book/preview/ch03.pdf
    notably:
    section 3.1 requirements (byte ordering, encoding forms and encoding schemes)
    section 3.8 Surrogates
    section 3.9 Unicode Encoding Forms
    section 3.10 Unicode Encoding Schemes

    References

    [CharMod] Unicode Technical Report #17: Character Encoding Model
    http://www.unicode.org/unicode/reports/tr17/
    For a detailed discussion of the relations between characters, glyphs, and encoding forms.

    -- Philippe.



    This archive was generated by hypermail 2.1.5 : Tue Jul 08 2003 - 08:20:45 EDT