File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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....
I agree. Here's the link:
subject: Encoding problem
It's not a secret anymore!