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 - BOM header (utf8)
Summary: BOM header (utf8)
Status: RESOLVED DUPLICATE of bug 161015
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-18 15:01 UTC by maxym
Modified: 2011-12-19 08:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***