This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes problem in converting Unicode to corresponding database format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "problem in converting Unicode to corresponding database format" Watch "problem in converting Unicode to corresponding database format" New topic
Author

problem in converting Unicode to corresponding database format

P. Ingle
Ranch Hand

Joined: Apr 25, 2005
Posts: 45
Hi,

I have a question regarding converting UNICODE to the charset.
My web app is sending some encrypted data (e.g.: k&<^,S-6m )as part of SQL string to sybase database using JDBC. I am using Test server in WSAD. I have SQL string of type 'String'

I get following error stream:
SystemErr R java.sql.SQLException: JZ006: Caught IOException: java.io.IOException: JZ0I6: An error occured converting UNICODE to the charset used by the server. Error message: java.io.CharConversionException:

Any suggestion?

Thanks,
P.Ingle


Thanks,<br />P.Ingle
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in converting Unicode to corresponding database format