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 183040 - Text editor crashes on UTF-8 endian tag
Summary: Text editor crashes on UTF-8 endian tag
Status: RESOLVED DUPLICATE of bug 161015
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-29 07:55 UTC by kitfox
Modified: 2011-11-16 16:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ActionScript file with UTF-8 tag (105 bytes, application/octet-stream)
2010-03-29 07:55 UTC, kitfox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kitfox 2010-03-29 07:55:57 UTC
Created attachment 96135 [details]
ActionScript file with UTF-8 tag

I'm having trouble with NB crashing when I try to open text files created in the Flash IDE in the NB environment.  This seems to be because Flash prepends the bytes 0xef 0xbb 0xbf to the text file, which UTF-8 files do:

http://en.wikipedia.org/wiki/Byte_order_mark

It would be helpful to tweak the editor to handle this bytecode.
Comment 1 kitfox 2010-03-29 20:31:20 UTC
The log file is 49GB and so is un-uploadable, but consists mainly of the following message over and over again:

SEVERE [org.netbeans.modules.cnd.asm.base.att.ATTParser]: Antlr lexer faced error token on position 0
Comment 2 Vitezslav Stejskal 2010-05-11 14:55:13 UTC

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