*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 18541
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC unicode conversion issue
 
Similar Threads
getString() in ResultSet
Getting data stored in an Oracle database into HTML SELECT Control
getCharacterStream puzzler
Encoding Conversion using JDBC
character convertion in java