File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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