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.
some IDEs have auto detection of file encodings. It can be done using i.e. http://docs.codehaus.org/display/GUESSENC/Home if you read Origins on this page you will see the known IDE(A) which is based on this impl
http://jchardet.sourceforge.net/ java port of the source from mozilla's automatic charset detection algorithm