04-27-2011 09:45 AM
Hi all !
Here is my problem : my application is internationalized and some of the languages used are Hindou, Chinese, Japanase, Korean, Russian with specific characters.
I edited my .rrc files under osx very well and saved them in my svn.
than I checkouted them into my eclipse project under windows xp but now I have some compilation errors reported in the .rrc files (the ones for the listed languages with specific characters). Errors dealing with unrecognized characters.
I do not want to modify them now, just use them at the compilation and packaging time to generate my cod. So why these errors ?
Is there a way to correct this issue ?
04-27-2011 10:38 AM
most likely you did not adhere to the specific format of the rrc files.
they are saved in ANSI, special characters are encoded in unicode (like \u1234).
depending on the size of your files these solutions may help you:
- create new rrc files and copy the strings using the eclipse editor
- analyse the files, remove invalid characters and check the encoding
we did some in-depth analysis and have working desktop java software that creates valid rrc files, but took a full day to come this far. using the built-in editor is much easier ![]()