my dog learned polymorphism*
The moose likes JDBC and the fly likes Special Characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Special Characters" Watch "Special Characters" New topic
Author

Special Characters

visu Nekk
Ranch Hand

Joined: Sep 06, 2005
Posts: 122
When I query a web service, I get a value which is assigned to a string. Sometimes i get special characters within that value like that of chinese, malay etc. The value will be a mixture of these language characters, in addition to the english characters. When I try to insert it into the database, it's throwing an "Invalid Character" exception. We are using oracle 10g and the jar file is classes12.jar. utf is enabled on the database. I suppose the problem is with jdbc. Please guide me out on how to solve this issue.

Thanks in advance,
Visu
 
 
subject: Special Characters
 
Similar Threads
URL Encoding at client side
Chinese characters
Encoding of special characters in the request parameter
Encoding problem
Displaying Non-English Characters in XML attribute