wood burning stoves*
The moose likes JDBC and the fly likes Jdbc Problem in ASCII characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Jdbc Problem in ASCII characters" Watch "Jdbc Problem in ASCII characters" New topic
Author

Jdbc Problem in ASCII characters

Harry Pattern
Greenhorn

Joined: Nov 27, 2002
Posts: 23
HI,
I need your advise on this. Im running a tomcat as a webserver, database is postgres . I used jdbc to connect my java program to the database. The connection was successful but upon displaying the contents on the browser the rs.getString(2) that extracts the 2nd column produced an error. I've check the table and found out that the column contains � character in which it should have that character cause it will contain the lastname. I think java does'nt recognize such char. Is there a class or method to pacify the situation.
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jdbc Problem in ASCII characters
 
Similar Threads
Oracle Insert query in Java
DB2 CHARACTER datatype issue in JPA
Could not find UTF-8 string in Database
Special Character Issues in Java with Sybase
Uniqueidentifier column type is not supporting in prepared statement