This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com