I am working on a German site where user is allowed to enter German chanracters in the text fields.
There is a form where user enters name and contents.
Then these values are stored in the DB and displayed in a page where there is a "Delete" link corresponding to each row.
User clicks on the Delete link and the name is passed to a Servlet, as a request paraemter (with the URL).
The servlets gets the search name from the request and deletes the row from the DB.
Problem comes when the name field consists of all German characters
Suppose user saved the values with
name : < Ö¬ßÖ?Üo¦â»Æ+ >
When this value is passed as a request
<a href="controller?action=deleteRow&searchName=<%= sName %>¶m1=<%=param1%>" onclick="return confirmDelete()"> Delete</a><br />
and the servlet gets it using request.getParamter(), it is retreived as
< Ö¬ßÖ?Üo¦â»Æ > //the last + sign is missing
Thie porblem comes when there are all German characters in the name. Even if there is just one english character in the name, it works perfectly fine.
PLease tell me how to resolve this.