cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Bug 154303 - I18N: String literals compiled in wrong encoding in ja locale
: I18N: String literals compiled in wrong encoding in ja locale
Status: VERIFIED FIXED
: projects
JavaFX
: 6.5
: All All
: P2 (vote)
: 6.8
Assigned To:
:
:
:
: I18N
:
:
  Show dependency treegraph
 
Reported: 2008-12-01 22:44 by
Modified: 2009-03-23 13:51 (History)
Issue Type: DEFECT
:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-12-01 22:44:01
While NetBeans uses UTF-8 for the source code encoding, NetBeans invokes
javafxc with the platform default encoding
through javafxpackager and String literals become garbage in the compiled
binaries. In ja locale, the platform default
encoding is wndows-31j (aka MS932). I believe this problem is applicable to
other locales.

A workaround is to change 'source.encoding' in project.properties from UTF-8 to
MS932. (There used to be a selection of
source encoding in Project Properties, but it seems to be gone.)
------- Comment #1 From 2008-12-02 09:07:52 -------
encoding problems are already fixed in trunk & JavaFX SDK trunk
------- Comment #2 From 2009-03-23 13:51:50 -------
Verified. On 1.1 plugin, project encoding can be specified by the fix for bug
150947.