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

Summary: NetBeans change defined file encoding from UTF-8 to ISO-8859-1 when save
Product: javaee Reporter: jasontiger
Component: JSPAssignee: issues@javaee <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshots

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?