Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Servlets and the fly likes Encoding problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Encoding problem" Watch "Encoding problem" New topic

Encoding problem

Umit Oncel

Joined: Mar 30, 2004
Posts: 1

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....
Have you tried LearnNowOnline?
subject: Encoding problem