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 12254 - Allow loading source from non-ASCII encodings
Summary: Allow loading source from non-ASCII encodings
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Other Other
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 12146 (view as bug list)
Depends on:
Blocks: 12146
  Show dependency tree
 
Reported: 2001-05-18 07:03 UTC by Svata Dedic
Modified: 2009-10-01 14:50 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2001-05-18 07:03:25 UTC
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
Comment 1 Svata Dedic 2001-05-18 07:05:44 UTC
4. Special "autodetect" mode, since some encodings can be discovered 
automatically. IN case of autodetection failure, loading should fail back to 
the default.
Comment 2 Svata Dedic 2001-06-28 09:02:16 UTC
*** Issue 12146 has been marked as a duplicate of this issue. ***
Comment 3 Svata Dedic 2001-08-23 13:17:18 UTC
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.
Comment 4 Marian Mirilovic 2009-10-01 14:48:04 UTC
reopen to fix status and resolution
Comment 5 Marian Mirilovic 2009-10-01 14:50:38 UTC
fix status and resolution