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.
Summary: | During run of project -Dfile.encoding=<source-encoding> is implicitly passed as a VM Option | ||
---|---|---|---|
Product: | java | Reporter: | swpalmer <swpalmer> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | REOPENED --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
swpalmer
2014-01-12 17:27:17 UTC
The runtime encoding is set to the value of property runtime.encoding. You can define it in your (private|project).properties when it differs from source.encoding. By default ${runtime.encoding} == ${source.encoding}. The IDE needs to know the runtime encoding to be able to read stdout|stderr. Okay, I understand that it is good to be able to set the encode, but shouldn't the default be the system's default encoding? If it is going to be set by NB always, shouldn't there be a field in the Run settings for it? I was surprised to see this being set and it shouldn't be a surprise. >shouldn't there be a field in the Run settings for it?
Currently there is not such a UI, you need to set the runtime.encoding in project.properties.
Seems reasonable to me to add it into the UI.
|