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 206511

Summary: BOM header (utf8)
Product: editor Reporter: maxym
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description maxym 2011-12-18 15:01:48 UTC
I found that Netbeans doesn't recognize BOM header for at least utf8 files.
For utf8 files, it is sequence of the first 3 bytes in a file: 0xEF 0xBB 0xBF.
In result file is loaded with additional '-' character on the top

See more: http://en.wikipedia.org/wiki/Byte_order_mark#UTF-8
Comment 1 Jiri Prox 2011-12-19 08:25:14 UTC

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