RE: Translating chinese into unicode

From: Brian Gould (bgould@viapeople.com)
Date: Sun Jan 15 2006 - 23:55:10 CST

  • Next message: Mike Ayers: "Re: Translating chinese into unicode"

    I know that the proper solution should include actual storage of Unicode,
    but I have found storing the HTML escape strings effective.

     

    e.g.,

     

    instructs =
    "<br>&#x6bcf;&#x4e00;&#x95ee;&#x9898;&#x9009;&#x62e9;&#x4e00;&#x4e2a;&#x7b49
    ;&#x7ea7;&#x3002;&#x60a8;&#x53ef;&#x70b9;&#x51fb;&#x201c;&#x66f4;&#x6539;&#x
    683c;&#x5f0f;&#x201d;&#x6765;&#x66f4;&#x6539;&#x7b49;&#x7ea7;&#x8303;&#x56f4
    ;&#x683c;&#x5f0f;&#x3002;&#x5f53;&#x60a8;&#x5df2;&#x5b8c;&#x6210;&#x7b49;&#x
    7ea7;&#xff0c;&#x70b9;&#x51fb;&#x201c;&#x4e0b;&#x4e00;&#x6b65;&#x201d;&#x7ee7
    ;&#x7eed;&#x8bc4;&#x4f30;&#x7684;&#x4e0b;&#x4e00;&#x9636;&#x6bb5;&#x3002;.";

     

      _____

    From: unicode-bounce@unicode.org [mailto:unicode-bounce@unicode.org] On
    Behalf Of Muchchandi, Ratnaprabha (GE Consumer & Industrial)
    Sent: Sunday, January 15, 2006 11:50 PM
    To: unicode@unicode.org
    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 : Sun Jan 15 2006 - 23:56:39 CST