Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Special Character Issues in Java with Sybase

 
Manish Ramrakhiani
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 ?

 
Rob Spoor
Sheriff
Pie
Posts: 20546
57
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.
 
Scott Selikoff
author
Saloon Keeper
Posts: 4015
18
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.
 
namrata patel
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic