I have a page with a form where user have to fill inputs, their login are filled automatically in hidden input, and I have a user with a login with a special character (in my case the character is é
). And when the form is submitted the special character turns into the symbol é
. Here is what I have :
FORM
<input type="hidden" name="Employe" value="<%= employe %>">
when I inspect the element I can see that the value is rémax
And when I do this
String employe = request.getParameter("Employe");
System.out.println(employe);
The output is rémax
This not seems to be an issue with charset because I can display special characters in both views. Why the special character is not displayed as expected ?