I am using JSP (for capturing inputs) and Servlets (to get the values from the request and do some processing) - WAS server is 5.1.1
The spaces in the data (say for a field where the input is "Hemanth Ramamoorthy") are replaced by "?" (Question mark - excluding the quotes). Why does this happen? Believe me, its not always - 1 in 100 or 200 times - this happens. I have set response character encoding to 8859_1
ASCII 32 is a space. I believe that ASCII 160 is also a space (used to be a shift-space on one computer I used). Maybe the occasional odd space in your data is an ASCII 160 which doesn't enjoy the translation to a different character set???
Having said that, I don't know enough about character sets or your set-up to be able to offer any helpful advice.