I confront a problem with the servlets and greek language. Basically, the problem is not between the server and the browser. In that case, I see the greeks clearly in my browser. To explain what I am doing. I have a form in a jsp page (Encoding:UTF-8) and the submit button sends the parameters in a servlet. In the servlet I set the character encoding like this:
request.setCharacterEncoding("UTF-8");
If I do out.println(request.getParameter(aParameter)); , I 'll get greeks fine but if I print them with System.out.println((request.getParameter(aParameter)) or store them in a database, i 'll get question marks.
Do you know where the problem is?
Thanks in advance,
Spyko
[Message sent by forum member 'spyko' (spyko387_at_yahoo.gr)]
http://forums.java.net/jive/thread.jspa?messageID=389429