Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Encoding problem  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm having a problem that I believe it's related to encoding. When I enter question mark in a text box, it's converted to Å when I get the form data. Actually I can see Å value on the page before I reach doGet() in the servlet. This value is stored in db2 database so when I print the value in JSP, it's � (Capital A, with a ring on top) not ?. Also some special characters are stored as unicodes. For example Ccedil with an & for �. But this problem doesn't occur for every special character(on linux server) and most of them are working fine on Windows. As a result Linux and Windows behave differently

Could you give me some advise to solve the problem.

Thanks in advance....
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!