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.
see the gif. Although it happens in for example en windows locale when using characters from other locale, that is not user scenario we use, at least its been one not seen as typical for nb users; but rather the scenario used is to be in a given locale/regional setting and expect that the characters of that locale, when used in fx code as shown in nb editor, will show ok when program is run via nb - am using now just the standard execution way, since saw that other run ways might not be working yet completely. 1. simple fx program that has title and label and in which japanese characters are used, since am in ja locale/reg setting on windows 2. run the program - the ja characters are not shown correctly.see gif and compare between editor view of characters (ok) and application view. note that fx project does not have encoding property (separate issue filed) and don't know if the feq api is used for other things so that might be reason for it; that is, if utf-8 is assumed but files are in windows ja encoding ie sjis/windows31j, that could be probblem or visa versa. 3. Alexandr noticed this running in en locale using Russian characters; which is something that works in windows but I don't think its really a supported scenario for nb. 4. if this needs to be filed for fx compiler or runtime, please do so but please leave this issue open so can be tracked.
Created attachment 72552 [details] image
Looks like runtime issue ... Since reproduced from running application reassign to Adam.
Even the source encoding is not editable, it is still defined in project properties (source.encoding=UTF-8) If the sources are edited and generated in another encoding, it is an internal issue of JavaFX project and editor, but nothing related to the buildsystem. Alternation of the encoding is another issue and it is true - it has not been implemented on all levels yet.
Misha, please take a look ...
Fix will be made in trunk to prevent destabilization.
Support for source.encoding added (fix for #150947, integrated to trunk: http://hg.netbeans.org/javafx/rev/399d232fd180). However since the encoding property is ignored by packager, it's still not possible to show non ascii/multibyte symbols while application run. Packager should support "-encoding" argument and pass its value to javafxc. Assigning to Adam.
The issue has been fixed in trunk in dependency on the new javafxpackager option -encoding (in development version).
Verified. encoding can be specified now by bug 150947.
Cleaning bugzilla categories ....