From: <ha...@us...> - 2012-03-14 17:47:14
|
Revision: 16888 http://jmol.svn.sourceforge.net/jmol/?rev=16888&view=rev Author: hansonr Date: 2012-03-14 17:47:04 +0000 (Wed, 14 Mar 2012) Log Message: ----------- version=12.3.18_dev # bug fix: support for file reading with BOM UTF-8, UTF-16, or UTF-32 Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/FileManager.java Modified: trunk/Jmol/src/org/jmol/viewer/FileManager.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/FileManager.java 2012-03-14 17:46:43 UTC (rev 16887) +++ trunk/Jmol/src/org/jmol/viewer/FileManager.java 2012-03-14 17:47:04 UTC (rev 16888) @@ -793,7 +793,7 @@ private enum Encoding { NONE, UTF8, UTF_16BE, UTF_16LE, UTF_32BE, UTF_32LE } - private void fixUnicode(String[] data, int i) { + private static void fixUnicode(String[] data, int i) { String s = data[i]; Encoding encoding = Encoding.NONE; // try { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |