This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JDBC and the fly likes European characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "European characters" Watch "European characters" New topic
Author

European characters

satish kumar
Greenhorn

Joined: Nov 26, 2004
Posts: 18
I am reading from database that has european characters as part of city names. How do I make sure that rs.getString("DestinationCity") captures the city name with all the right characters? How can i check the ascii code or unicode value of each character?
satish kumar
Greenhorn

Joined: Nov 26, 2004
Posts: 18
I found out a way ... this works

String str = "K´┐ŻLN";

System.out.println(str.codePointAt(1));
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: European characters