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.
I have a problem with netbeans' radically restrictive i18n support: An older website I'm maintaining keeps all its files and its default server document encoding as Latin-1. However I have upgraded this site to use some JSON files which I retrieve with jQuery. As you should be aware, AJAX requests are always performed in UTF-8 encoding as are JSON encoded files. Therefore I cannot use Netbeans to work on this website, because Netbeans does not allow different file encodings per document, and editing a UTF-8 document in Latin-1 / ISO8859-1 will result in corruption. (The lack of a structured JSON editor mode can be somewhat overcome by performing some regex search&replace operations at load and save time, in case you're curious how I edit properly formed JSON in NetBeans) Product Version = NetBeans IDE 7.3 (Build 201302132200) Operating System = Linux version 3.8.0-25-generic running on amd64 Java; VM; Vendor = 1.7.0_21 Runtime = OpenJDK 64-Bit Server VM 23.7-b01
Created attachment 137692 [details] IDE log
Reassinging to JSON.
AFAIK not JSON related: "because Netbeans does not allow different file encodings per document". Perhaps you can use "Encoding support" plugin.
*** This bug has been marked as a duplicate of bug 190236 ***