Java – Eclipse RCP code error when deploying product

I'm creating an RCP application with many Greek messages, so everything is UTF-8 When I developed and tested through the eclipse IDE, everything was fine

When I deploy through the eclipse Product Export Wizard, the resulting exe cannot display Greek letters correctly

I know I missed some stupid things, but I don't know what Can I ask you for help?

Solution

(copy from question – so this shows an answer)

I found that the solution was not as trivial as I expected

Eclipse provides the ability to use build Properties controls the functionality of the build process, where you can specify the property javacdefaultencoding with the following values

javacDefaultEncoding .. = UTF-8

Documentation can be found in the "plug in development environment guide" and "reference" and "build configuration" in the eclipse help

I hope it will help sb

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>