File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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));
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: European characters
 
Similar Threads
Java J2EE, Tomcat, Linux Developer
how to identify asian/european characters
I got ??? in stead of Arabic characters after conversion to utf8 in mysql using mysqlWorkBench
How to write single byte and double byte characters on pdf using java api(iText)
how to type in special characters