This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 154303

Summary: I18N: String literals compiled in wrong encoding in ja locale
Product: javafx Reporter: mokutsu <mokutsu>
Component: UnsupportedAssignee: Adam Sotona <asotona>
Status: VERIFIED FIXED    
Severity: blocker CC: jf4jbug
Priority: P2 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description mokutsu 2008-12-01 22:44:01 UTC
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 Adam Sotona 2008-12-02 09:07:52 UTC
encoding problems are already fixed in trunk & JavaFX SDK trunk
Comment 2 Masaki Katakai 2009-03-23 13:51:50 UTC
Verified. On 1.1 plugin, project encoding can be specified by the fix for bug 150947.
Comment 3 David Strupl 2011-10-19 12:05:32 UTC
Cleaning bugzilla categories ....