Hi all,
I just wrote a simple
java class to encode the DB file. This is the code I have:
RandomAccessFile raf = new RandomAccessFile("db-2x2.db", "rw");
byte b[] = new byte[10];
raf.read(b);
String str = new String(b, "ISO-8859-1");
System.out.println("The first 10 bytes of the file is "+str);
The str printed out is some strange characters like faces, etc..What am I doing wrong here?
Thanks for helping..