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 190236 - File encoding per file instead of per project
Summary: File encoding per file instead of per project
Status: RESOLVED DUPLICATE of bug 157498
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
: 233314 236416 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-08 12:33 UTC by krzychukula
Modified: 2015-09-09 09:07 UTC (History)
3 users (show)

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 krzychukula 2010-09-08 12:33:18 UTC
I have an xml document in ISO-8859-2 (set in project setting) but NetBeans save it in UTF-8 ... 
It is Bug, but there is another option to solve it:

like in ComodoIDE(works great with guessing encoding of files, and always is fixing mess done by NetBeans), 

Ad option for seting encoding in file, and to can force NetBeans to read and write file in specific encoding.

It would be nice to have information in file properties whitch encoding is used in opened file( I think that it can be easiest to do, but will be helpful)


Product Version = NetBeans IDE 6.9 (Build 201006111053)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_21
Runtime = Java HotSpot(TM) Client VM 17.0-b16
Comment 1 Marian Mirilovic 2010-10-14 12:48:45 UTC
you can set encoding for the whole project manually (invoke "Properties" over project node in Projects View) and select Sources row
Comment 2 krzychukula 2010-10-14 17:20:16 UTC
This bug is about encoding for single files. 
1: file in project can have different encoding than project
2: Open file without setting project(from explorer)
Comment 3 krzychukula 2011-12-09 10:43:17 UTC
+ it would be great to support "guessing" of encoding in file.
Comment 4 Vladimir Voskresensky 2011-12-09 15:45:01 UTC
(In reply to comment #3)
> + it would be great to support "guessing" of encoding in file.
http://netbeans.org/bugzilla/show_bug.cgi?id=191564
Comment 5 Milutin Kristofic 2013-07-31 12:20:40 UTC
*** Bug 233314 has been marked as a duplicate of this bug. ***
Comment 6 Marian Mirilovic 2013-09-27 08:49:50 UTC
*** Bug 236416 has been marked as a duplicate of this bug. ***
Comment 7 Milutin Kristofic 2015-09-09 09:07:20 UTC

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