we tried to add resource bundle for chinese language. We created LanguagePack_zh_CN.properties (UTF-8) according to the i18n instruction, and then use native2asccii task to create ascii version. From eclipse debug, we could see that the zh_CN resource bundle worked well by looking at variable values set to Swing component. But Chinese characters were shown as square box on the Swing gui.
The Chinese license file is created in UTF-8. But it displayed as square box.
Thanks for help. Dave
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
we created an small swing application to test the same resource bundle LanguagePack_zh_CN, it worked. The chinese characters show up (set in JLabel) correctly. We could not figure out why it did not work in AntInstaller.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
we tried to add resource bundle for chinese language. We created LanguagePack_zh_CN.properties (UTF-8) according to the i18n instruction, and then use native2asccii task to create ascii version. From eclipse debug, we could see that the zh_CN resource bundle worked well by looking at variable values set to Swing component. But Chinese characters were shown as square box on the Swing gui.
The Chinese license file is created in UTF-8. But it displayed as square box.
Thanks for help. Dave
we created an small swing application to test the same resource bundle LanguagePack_zh_CN, it worked. The chinese characters show up (set in JLabel) correctly. We could not figure out why it did not work in AntInstaller.