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 258590 - NetBeans change defined file encoding from UTF-8 to ISO-8859-1 when save
Summary: NetBeans change defined file encoding from UTF-8 to ISO-8859-1 when save
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-30 15:39 UTC by jasontiger
Modified: 2016-03-30 15:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshots (144.12 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2016-03-30 15:39 UTC, jasontiger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasontiger 2016-03-30 15:39:13 UTC
Created attachment 159050 [details]
Screenshots

1. I am using NetBeans 8.0.2 and 8.1.
2. I have defined SOURCE in my Project properties to use encoding UTF-8.
3. I have opened every individule .jsp and .jspf file in NotePad++ to make sure that every file is saved in UTF-8 encoding.
4. I also add this option in -J-Dfile.encoding=UTF-8 in netbeans_default_options in netbeans.conf file.
5. I opened the project in NetBeans.
6. I checked the file properties to make sure that the encoding is in UTF-8.
7. I updated the file.
8. I press CTRL-S to save the file.
9. NetBeans told me that:
The file contains characters which will probably be damaged during the conversion to ISO-8858-1 character set. Do you still want to save the file in this character set?