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.
Summary: | Cannot edit UTF-8 JSPs fragments in Favorites (not in projects) | ||
---|---|---|---|
Product: | javaee | Reporter: | agallardo |
Component: | JSP Parser | Assignee: | issues@javaee <issues> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | agallardo |
Priority: | P3 | ||
Version: | 7.1.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Netbeans incorrect Windows-1252 presentation of a UTF-8 jsp fragment |
Description
agallardo
2012-05-11 14:53:32 UTC
Sorry, "XXX" stands for <<Using "windows-1252" instead of the declared encoding "iso-8859-1">> I have checked the JSP specs and am changing the issue type to "enhancement," as it should be possible to add a "pageEncoding" per file, even if these files are being included into a final one (translation unit). I still would prefer to have an option through the IDE to set the encoding per directory, without the need of adding this directive: "A translation unit [...] can contain more than one instance of the page directive. [...] There shall be only one occurrence of any attribute/ value pair defined by this directive in a given translation unit. [...] The import and pageEncoding attributes are exempt from this rule and can appear multiple times.[...] The pageEncoding attribute can occur at most once per file (or a translation error will result), and applies only to the file in which it appears." [JavaServer PagesTM Specification Version 2.1, JSP.1.10.1 The page Directive] This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss Re-tested with NetBeans 8.1: I can confirm that this issue is not reproducible. |