> With that, we could only recommend to take a break, go for running, ride a
> bike, etc.The best programmer advise indeed ! ;-)
I finally made a dirty hack: manually replacing the NbBundle .class files from
org-openide-util.jar directly in the Netbeans/platform/lib folder ! It works
fine.
I
Well, can you create a PR to see what would be your fix?
Also unfortunately the " I've tried many things but no success." carries
only information about your frustration. With that, we could only
recommend to take a break, go for running, ride a bike, etc.
On 12/26/20 8:52 AM, Jerome Lelasseux
Well I've managed to alter my Ant build process to add UTF8>ISO5589-1
transcoding, but at the end of th day it's really not efficient...
I came back to the source of the problem and checked NbBundle.java (part of
org.openide.util/Base Utilities API module). It turns out it's easy to make it
s
> Well since unfortunately the encoding of a property file is set as ISO-8859-1
> in it spec, I'd use a generator step in the build which would translate the
> UTF-8 characters into \u of the final Bundle.properties.
OK I've managed to use the -post-compile extension point to transcode the
> Well since unfortunately the encoding of a property file is set as ISO-8859-1
> in it spec,
At least for JDK 11 the API says the opposite :
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/PropertyResourceBundle.html,
see the API paragraph.
And indeed it's what I experime
Well since unfortunately the encoding of a property file is set as
ISO-8859-1 in it spec, I'd use a generator step in the build which would
translate the UTF-8 characters into \u of the final Bundle.properties.
On 12/21/20 6:56 AM, Jerome Lelasseux wrote:
I use the crowdin.com platform (fre
I use the crowdin.com platform (free for open-source!) to get the translations
done for my Netbeans RCP application. It gets synchronized automatically to
GitHub nicely.
The problem is that I pull UFT-8 encoded Bundle*.properties, and the RCP
platform expects ISO-8859-1 encoding, so special ch