It's not a secret anymore!
The moose likes JDBC and Relational Databases 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
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32481
    
214

Mohamed,
Welcome to JavaRanch!

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


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, 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.
 
Have you checked out Aspose?
 
subject: How to read UTF-8 data from Oracle Blob object ?
 
It's not a secret anymore!