Community
Participate
Working Groups
One of our customers has a legacy rule, that forces all source files to be encoded in UTF-8. So the projects resource encoding is UTF-8 (inherited from container). When compiling the bundle project PDE and run via a launch configuration inside the eclipse IDe everthing is fine. But when exporting a bundle/product, those settings are ignored and the result are corrupted strings when they contain special characters.
The options to control encoding during export/headless build are # javacDefaultEncoding.<library> - sets default encoding to use when compiling the given library. # javacCustomEncodings.<library> - a comma separated list of paths and encodings to use when compiling the given library. Example: javacCustomEncodings.library.jar = src/org/foo[US-ASCII], src/org/foo/bar.java[ISO-8859-1] Bug 260997 was about synchronizing these properties with the workspace settings, marking this as a duplicate of that. *** This bug has been marked as a duplicate of bug 260997 ***