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.
[#200810060201, jdk1.5.0] to reproduce: ------------- 1) create a new .jsp 2) set the encoding to UTF-16 3) move the file outside the project structure (eg into /tmp folder) 4) open it ERROR: the file is opened by default encoding so: no coloring, BOM is visible at the beginning, properties shows ISO-8859-1 encoding.
That is likely because of the jsp parser cannot operate whithout a web module so the default encoding is used. This is hard to fix directly but I can improve the FastOpenInfoParser to recognized BOMs.
future=>later
NetBeans.org Migration: changing resolution from LATER to WONTFIX