1 Reply Latest reply on May 5, 2010 2:15 AM by 843810

    Problem Reading chinese word from resourcebundle

      Hi Friends,

      I am trying to read chinese charaters from the resourcebundle.

      I created properties files using chinese characters with Chinese(PRC) fonts and saved as unicode format.
      I changed to unicode format using native2ascii tool
      native2ascii -encoding unicode language_zh1_CN1.properties language_zh_CN.properties
      then I copied the created file in my properties folder and saved as ANSI format.

      from the java code I read the properties file using

      String s=new String(resource.getString("greeting").getBytes("unicode"),"GB18030");

      I am showing the result in a flex alert box.But its not showing correctly.Its showing some chinese characters but not the one which I typed.

      Is it the problem in java side or is it from flex side.