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 - I18N: String literals compiled in wrong encoding in ja locale
Summary: I18N: String literals compiled in wrong encoding in ja locale
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-12-01 22:44 UTC by mokutsu
Modified: 2011-10-19 12:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ....