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.
[ BUILD # : 200510131922 ] [ JDK VERSION : 1.5.0_05 ] When I do a diff of CSS files, their encoding directives are ignored. The first line of a CSS file can contain the following directive: @charset "iso-8859-1"; But it's ignored by the DIFF module. Also don't use the NetBeans editor to do your test, because the NetBeans editor is also ignoring the encoding. See issue 67340.
AFAIK diff uses editor's encoding detection logic. For XML/CSS not implemented.
CSS module is reponsible for handling it. BTW it can communicate found encoding to diff by setting "Content-Encoding" fileobject attribute.
I will try to fix it in nb 5.0 timeframe
TM 5.0->TBD
Once Issue 67340 is fixed this should work
*** This issue has been marked as a duplicate of 67340 ***
Close "DUPLICATE" issue