• Post Reply Bookmark Topic Watch Topic
  • New Topic

Special Character Issues in Java with Sybase  RSS feed

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?

 
Sheriff
Posts: 21185
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope, but I'll be moving this thread to our JDBC forum where we have more database expertise.
 
author
Bartender
Posts: 4093
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The column may not support that encoding. Check the character encoding for the database/table.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!