Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with Euro symbol  RSS feed

 
Damodara Reddy
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im unable to retrieve Euro symbol from text box using request.getParameter().

even unable to retrieve it from the data base using ResultSet.getString(),
when im trying to do this, its returning garbage value..!
Can any one give solution for this..?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which encoding are you using for reading the request parameters?
 
Damodara Reddy
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
UTF-8
 
Damodara Reddy
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Ulf Dittmer ,
the problem is fixed by changing the encoding format of the JVM to
ISO-8859-1.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!