Problems to give umlauts from jsp to servlet and also back
Hi,I have a jsp with several inputfields. If I submit the contents of the form to a servlet, I get the umlauts as cryptic signs. What do I have to add in my jsp and in the servlet to submit the special letters in the right way?
Hey!
Thank You for Your answer!
I have made the changes and I get the content correct back to my jsp! I also have set the content type in the servlet, before I磎 reading the parameters from the jsp. But when I make a system out in the servlet after reading the parameters from the jsp, I have cryptic letters again in the console.
Do you think, it磗 only a problem of the windows command box, or how can I check, if the values in the servlet are correct? I need to send the content from the servlet to SAP and GIS, so I hope it get submited right!
If you are using a command prompt to display the log, then that is the problem. The command prompt only displays ASCII characters, the Unicode will look lilke a weird character in that setting. Check the log with a Unicode enabled editor (wordpad will do in a pinch).