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 177714 - Can not specify file encoding, so can not display text correctly
Summary: Can not specify file encoding, so can not display text correctly
Status: RESOLVED DUPLICATE of bug 19928
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: -S1S-
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-27 02:28 UTC by gooddreams
Modified: 2009-12-01 10:15 UTC (History)
0 users

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 gooddreams 2009-11-27 02:28:33 UTC
In my projects, there are some files not in single byte character (Asia characters). I can not view these files correctly within NetBeans. I think there should be able to set encoding in File properties dialog (context menu by click on file and select Properties) or select encoding in View menu.

My local setting is en_US. Because we develop English software, but also do some i18n works.

I remember file encoding could be set on JSP files in very early NetBeans versions. Is it still exist? I think this feature also should be used on other file types. Just like other editors, user can select character encoding.
Comment 1 Vitezslav Stejskal 2009-11-30 05:53:54 UTC
In general file encoding is controlled on the project level. Specific file types may allow to override this for each particular file of that type (eg. AFAIK jsp or html files do this, but not java, for example).

What file types are you using?
Comment 2 gooddreams 2009-11-30 11:19:27 UTC
I am using .txt files. These files are stored in UTF-8 character set.
I thought open other files (not java or properties) should let user to select their encoding. Some time open them within IDE is more convinent than use outer editor.
Comment 3 Vitezslav Stejskal 2009-12-01 10:15:36 UTC

*** This bug has been marked as a duplicate of bug 19928 ***