Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

CLOB not converting 8 bit extended ASCII characters properly on Linux

843859Jun 13 2007 — edited Jun 13 2007
Hi,

I have few 8 bit extended ASCII characters in database. When I retrieve them using CLOB and convert the CLOB to String then the characters are getting corrupted and I don't see what is stored in database.

It is happening on Linux Environment whereas it is working on Windows Environment. Is there any Linux Environment setting which I need to do.

I am using following to convert CLOB to String

CLOB c_lob = (CLOB) obj;

InputStream ipstream = c_lob.binaryStreamValue();

Where obj is of type oracle.sql.CLOB
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 11 2007
Added on Jun 13 2007
1 comment
300 views