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 242647 - 文本文件的编码问题。
Summary: 文本文件的编码问题。
Status: RESOLVED INVALID
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-07 06:39 UTC by epstar
Modified: 2014-03-07 07:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE 日志 (55.55 KB, text/plain)
2014-03-07 06:39 UTC, epstar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description epstar 2014-03-07 06:39:18 UTC
Product Version = NetBeans IDE 8.0 RC1 (Build 201402242200)
Operating System = Linux version 3.13.5-200.fc20.x86_64 running on amd64
Java; VM; Vendor = 1.7.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.51-b03

我在一个编码为GBK的项目里新建一个文本文件,为什么IDE会自动将该文件的编码属性设置为UTF8?既然文件没有指定编码那应该使用项目编码,即GBK,而不是系统默认编码。
此类问题已经成为目前最大困扰,不得不在其他一些编辑器中使用,如gedit,希望能尽快解决或给与答复,谢谢!!
(我在Linux系统下使用IDE,有一部分项目使用了GBK编码(历史问题),新的项目则使用了UTF8。)
Comment 1 epstar 2014-03-07 06:39:23 UTC
Created attachment 145825 [details]
IDE 日志
Comment 2 Marian Mirilovic 2014-03-07 07:03:49 UTC
Please, report bug in an English, thanks in advance.