From: Ian T. <ian...@us...> - 2002-01-24 12:00:38
|
Update of /cvsroot/geotools/geotools/src/uk/ac/leeds/ccg/dbffile In directory usw-pr-cvs1:/tmp/cvs-serv30666/uk/ac/leeds/ccg/dbffile Modified Files: Tag: Release_0_8_x-branch Dbf.java Log Message: fixed problem in grabnextdbfrec - closing bug #505061 Index: Dbf.java =================================================================== RCS file: /cvsroot/geotools/geotools/src/uk/ac/leeds/ccg/dbffile/Dbf.java,v retrieving revision 1.8.4.2 retrieving revision 1.8.4.3 diff -w -C2 -d -r1.8.4.2 -r1.8.4.3 *** Dbf.java 2002/01/17 16:54:01 1.8.4.2 --- Dbf.java 2002/01/24 12:00:36 1.8.4.3 *************** *** 227,231 **** //Modifed to use Hisaji ONO's approach for reading multi byte character sets ! byte[] strbuf = new byte[DBF_NAMELEN]; // <---- byte array buffer fo storing string's byte data for(int i=0;i<rec_size;i++){ strbuf[i] = dFile.readByte(); // <---- read string's byte data --- 227,231 ---- //Modifed to use Hisaji ONO's approach for reading multi byte character sets ! byte[] strbuf = new byte[rec_size]; // <---- byte array buffer fo storing string's byte data for(int i=0;i<rec_size;i++){ strbuf[i] = dFile.readByte(); // <---- read string's byte data |