request.getParameter("x") character conversion problem
I have a well working servlet application and a little bug: in the Servlet's
doGet mehtod, the parX = request.getparameter("x");
gives me the value of HTTP parameter "x", but I get ?s (question marks) instead
of two special Hungarian characters.
PrintWriter out = new PrintWriter (new OutputStreamWriter(response.getOutputStream(),"Cp1250"));
PrintWriter out = new PrintWriter (response.getOutputStream());
and this way the output can contain fine Hungarian special characters, but
my problem is about is the input stream...
Any idea is highly appreciated.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center