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.
1. There should be user-settable default encoding for source files. 2. Any source file should be allowed to override the encoding. 3. Create support for converting an already existing file to use some other encoding
4. Special "autodetect" mode, since some encodings can be discovered automatically. IN case of autodetection failure, loading should fail back to the default.
*** Issue 12146 has been marked as a duplicate of this issue. ***
Java source now has a property which specifies encoding. There's a default property on Java Sources option, which specifies ide-wide default for all java sources. If none is specified, system property file.encoding is used. The encoding is honoured by the editor, parser and compiler as well, unless the compiler overrides it using its own "encoding" property.
reopen to fix status and resolution
fix status and resolution