I have problem for field memo.
ex.
private static void readClob(Clob clob) throws SQLException, IOException{
InputStream ip = (InputStream)clob.getAsciiStream();
int c = ip.read();
while (c > 0) {
if ((c != 63) && (c !=130) && (c !=26) ) {
System.out.print((char)c);
}
c = ip.read();
}
System.out.print("\n");
}
result = I how are you ÿ¿õ«?âÿ¿%¾?û%¾%¾%¾%¾'¾$¾%¾$¾
|
|
You can use getString, getBytes, getBlob, or getClob too. You can send webmaster@hxtt.com your memo files sample. It seems that some binary character were appended by your Xbase application.
|