aspose file tools*
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
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to read UTF-8 data from Oracle Blob object ?