This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes How to read UTF-8 data from Oracle Blob object ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to read UTF-8 data from Oracle Blob object ?" Watch "How to read UTF-8 data from Oracle Blob object ?" New topic
Author

How to read UTF-8 data from Oracle Blob object ?

Mohamed Shehab
Greenhorn

Joined: Feb 15, 2009
Posts: 4
I have an Oracle blob object that contains UTF-8 data format, I am trying to read these data in the same format but unfortunately, they are not coming properly in the same encoding, can anyone help in this please ?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30136
    
150

Mohamed,
Welcome to JavaRanch!

Can you post the code you are using so we can see if there is an encoding issue there?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Mohamed Shehab
Greenhorn

Joined: Feb 15, 2009
Posts: 4
Jeanne, thanks too much for your reply.

I have figured out the problem, I should use Clob for stroing UTF-8 data instead of Blob.
 
Don't get me started about those stupid light bulbs.
 
subject: How to read UTF-8 data from Oracle Blob object ?
 
Similar Threads
Parsing a BLOB XML object
Saving Japanese Characters in Oracle Blob using Java program
Problem in using getParameter()
What happens when you read large blob data from Oracle db using jdbc connection?
Oracle 9i reading BLOB performance issues