Re: UTF-8 to UTF-16LE

From: Dan Kogai (dankogai@dan.co.jp)
Date: Tue Jul 08 2003 - 07:30:22 EDT

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

    On Tuesday, July 8, 2003, at 07:49 PM, santhosh kumar 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 .
    >
    > Santhosh.

    If you have perl 5.8 or higher, it is as simple as

      piconv -f utf8 -t utf16le utf8.txt > utf16le.txt

    Dan the Encode Maintainer



    This archive was generated by hypermail 2.1.5 : Tue Jul 08 2003 - 08:12:35 EDT