This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jdbc Problem in ASCII characters  RSS feed

 
Harry Pattern
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!