This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JDBC 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
Bookmark "JDBC unicode conversion issue" Watch "JDBC unicode conversion issue" New topic
Author

JDBC unicode conversion issue

Bob Moor
Greenhorn

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)?

Thanks


Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

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
Greenhorn

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

Sorry for that. I will follow the faq
 
GeeCON Prague 2014
 
subject: JDBC unicode conversion issue