Results 1 to 3 of 3

Thread: how to convert files to unicode (/u****)

  1. #1
    Join Date
    Oct 2011
    Beans
    3

    how to convert files to unicode (/u****)

    hi,
    I need to convert some files(in different languages like korean, chinese) to unicode (/u****) so that my parser is able to print them.
    can any one direct me to some tool or way by this can be done?

  2. #2
    Join Date
    May 2006
    Beans
    1,790

    Re: how to convert files to unicode (/u****)

    Quote Originally Posted by devish1 View Post
    hi,
    I need to convert some files(in different languages like korean, chinese) to unicode (/u****) so that my parser is able to print them.
    can any one direct me to some tool or way by this can be done?
    The program 'iconv' may know about those encodings.

    Both Korean and Chinese probably have several different encoding each.

  3. #3
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    2,165
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: how to convert files to unicode (/u****)

    Quote Originally Posted by devish1 View Post
    hi,
    I need to convert some files(in different languages like korean, chinese) to unicode (/u****) so that my parser is able to print them.
    can any one direct me to some tool or way by this can be done?
    The Java JDK comes with a "native2ascii" utility to convert file to ISO-8859-1 and Unicode escape sequences for the characters that hav no direct representation in ISO-8859-1 (typically used ti generate properties file for I18N). see:

    http://download.oracle.com/javase/1....ive2ascii.html

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •