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
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.