Re: Translating chinese into unicode

From: Philippe Verdy (verdy_p@wanadoo.fr)
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 > resource.properties

    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)
    To: unicode@unicode.org
    Sent: Monday, January 16, 2006 5:50 AM
    Subject: Translating chinese into unicode

    Hi,
    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- Myresources.properties) and read it and display in my .jsp file as Chinese characters
    Thanks,
    Ratna



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