This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

European characters

 
satish kumar
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found out a way ... this works

String str = "K´┐ŻLN";

System.out.println(str.codePointAt(1));
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic