aspose file tools
The moose likes JDBC and Relational Databases and the fly likes Special Character Issues in Java with Sybase Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Special Character Issues in Java with Sybase" Watch "Special Character Issues in Java with Sybase" New topic
Author

Special Character Issues in Java with Sybase

Manish Ramrakhiani
Ranch Hand

Joined: Aug 20, 2009
Posts: 44
Whenever trying to insert special charachter(’) from java in sybase getting error. Ascii and Binary value of this special charachter is (’) and 10010010.

Error is as follows-:

Error converting characters into server's character set. Some character(s) could not be converted.


If anyone has any clue ?

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19958
    
  25

Nope, but I'll be moving this thread to our JDBC forum where we have more database expertise.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3740
    
  10

The column may not support that encoding. Check the character encoding for the database/table.


[OCA 8 Book] [Blog]
namrata patel
Greenhorn

Joined: Sep 19, 2011
Posts: 1
Manish Ramrakhiani wrote:Whenever trying to insert special charachter(’) from java in sybase getting error. Ascii and Binary value of this special charachter is (’) and 10010010.

Error is as follows-:

Error converting characters into server's character set. Some character(s) could not be converted.


If anyone has any clue ?


Hello Manish, I am facing same exact error. Were you able to find a solution?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Special Character Issues in Java with Sybase