We are implementing i18n in our project. And for that, we have a resource bundle with a chinese properties file with all chinese characters.
And i have saved that file with UTF-8 encoding. Then, when i run my application, iam getting someother special characters instead of chinese. When i hardcoded the chinese text in my flex mxml files, then im able to see chinese. But when it is coming from a properties file, im getting special characters.I have tried a full day to resolve this, but failed. Can somebody please help me to get through?
Use getCharCode() to pick apart the characters in the string to make sure they are the ones you expect. Then maybe try different fonts to make sure they have the correct mapping.
Flex SDK Developer
Adobe Systems Inc.
I've tried what you've told. I used charCodeAt(), i am getting the unicode of the special character, not for the chinese character. And i tried with other languages also, same problem. Could you help me?
I've seen the hex value for a chinese word in the properties file. And the same hex value im getting in the mxml also for that word. Hex values are same but the fonts are different. Im getting like this ä¼šè®® for the actual chinese 会议 .
Thanks in advance.