# NetBeans IDE HG Patch # This patch file was generated by NetBeans IDE # Following Index: paths are relative to: C:\NetBeansProjects\nb-silver # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: dlight.remote.impl/src/org/netbeans/modules/remote/util/RemoteFileEncodingQueryImpl.java --- dlight.remote.impl/src/org/netbeans/modules/remote/util/RemoteFileEncodingQueryImpl.java +++ dlight.remote.impl/src/org/netbeans/modules/remote/util/RemoteFileEncodingQueryImpl.java @@ -62,7 +62,7 @@ public Charset getEncoding(FileObject file) { if (file instanceof RemoteFileObject) { try { - return Charset.forName("UTF-8"); //NOI18N + return Charset.forName(System.getProperty("cnd.remote.charset","UTF-8")); //NOI18N } catch (UnsupportedCharsetException ex) { RemoteLogger.fine(ex); } catch (IllegalCharsetNameException ex) {