The moose likes JDBC and Relational Databases and the fly likes JDBC unicode conversion issue 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 "JDBC unicode conversion issue" Watch "JDBC unicode conversion issue" New topic

JDBC unicode conversion issue

Bob Moor

Joined: May 24, 2010
Posts: 7
Hi All,

My database(Oracle 10g) characterset is set to ISO-8859-6(AR8ISO8859P6) to store arabic characters.
When I query the database, JDBC Converts the data from the database character set to Unicode.
Because of this unicode conversion some of the characters are lost(translated to ?)
same behavior for both oci and thin..

In JAVA Is there any solution to retrieve the data in database format(without doing any unicode conversion)?
Is there any driver available retrieve the data from oracle in database format( encoding)?


Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

Hi, Bob. This post looks like a duplication of this post on another forum. Could you please have a look at our FAQ entry entitled BeForthrightWhenCrossPostingToOtherSites? Thanks.
Bob Moor

Joined: May 24, 2010
Posts: 7
Hi Paul,

Sorry for that. I will follow the faq
I agree. Here's the link:
subject: JDBC unicode conversion issue
It's not a secret anymore!