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.
Created attachment 115370 [details] screenshot of opened UTF-8 with BOM file When a UTF-8 with BOM javascript file is opened in the editor there is the first symbol looks like a dot. While there is no such symbol when a UTF-8 with BOM CSS- or HTML-file is opened.
Should this be considered a bug ? I like NB behaviour the way it is now.
This is valid though consistent with other editor types. I think in case we would intend to solve this it should be solved in editor infrastructure.
I don't understand how this is editor related when reporter said the dot is only in javascript files and not html, or css. I tested java file: 1, created java project 2, changed encoding of project to utf-8 3, create class 4, there is not a dot in file. Returning back.
Milutin, your test didn't show any results since Netbeans creates UTF-8 files _without_ BOM but the problem is with files _with_ BOM. This is not an issue when developing for webservers but it's a big deal if you develop for scripting interfaces. Such interfaces are e.g. offered by several ECM applications.
This happens with me too, and it's a very annoying problem.
Yep as stated in comment 4 the test in comment 3 just tests NB does not create file with BOM. Create the source file outside of NB with BOM and you'll the problem displayed at screenshot.
*** This bug has been marked as a duplicate of bug 161015 ***