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.
It would be very helpful if there was a possibility to change charset for some files in a project. I have a PHP project in ISO-8859-2 with some XML files in UTF-8 in it. Whenever I edit those files they are convertet to ISO-8859-2. Changing all files to the same charset is not an option. Right now I'm using a diffrent editor for those files. This way is very unconvinient.
It is intentional that a given project has only one encoding for file types which do not internally specify their own encodings. However XML files do normally specify an encoding internally: <?xml version="1.0" encoding="UTF-8"?> With an explicit encoding like this, the NB editor should always load and save the file in that encoding, without paying any attention to the project's settings.