I´ve problems when getting a String in the request of an ajax Call. The String have the word, as example, "Ñoño" but when i read the parameter using:
String parameter = request.getParameter("param");
I have strange characters as a result
So i´ve added the next code
byte [] parameterByte= parameter.getBytes();
parameter = new String(parameterByte,"UTF-8");
As a result i get most of the character as supposed, except the Ñ. Why i´m having problems with this character? Any idea?
Regars.