Re: Translating chinese into unicode

From: Philippe Verdy (
Date: Mon Jan 16 2006 - 14:02:18 CST

  • Next message: Philippe Verdy: "Re: Translating chinese into unicode"

    Translating chinese into unicodeJust create your properties files first as a UTF-8 text file, then run:

        native2ascii -encoding UTF-8 < resource.UTF-8.txt >

    The "native2ascii" tool is part of the JDK.
    (this works provided that you use only property keys restricted to ASCII)

    You may use another charset tocreate your Chinese text file (for example GB18030) and so you'll need to change the "UTF-8" command-line argument above.

    ----- Original Message -----
    From: Muchchandi, Ratnaprabha (GE Consumer & Industrial)
    Sent: Monday, January 16, 2006 5:50 AM
    Subject: Translating chinese into unicode

    My current project involves internationalization using Java. We are planning to have multiple properties file for each language. ? I am using ResourceBundle to read property file.
    How do I store chinese charactes in a property file(a text file- and read it and display in my .jsp file as Chinese characters

    This archive was generated by hypermail 2.1.5 : Mon Jan 16 2006 - 14:22:13 CST