• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mohamed Shehab
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34198
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed,
Welcome to JavaRanch!

Can you post the code you are using so we can see if there is an encoding issue there?
 
Mohamed Shehab
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic