wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Encoding problem" Watch "Encoding problem" New topic
Author

Encoding problem

Umit Oncel
Greenhorn

Joined: Mar 30, 2004
Posts: 1
Hi,

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....
 
Don't get me started about those stupid light bulbs.
 
subject: Encoding problem
 
Similar Threads
Charset & encoding Problem
Error while parsing html page in java on linux
Issue in character encoding....
Issue in character encoding
Question strings and character encodings