Re: what should the charset be in the response to the server

at August 07, 2003 4:43 PM  "Martin Duerst" commented:
> Using
>      request.setCharacterEncoding("UTF-8");
>      request.getParameter("param");
> didn't work last time I tried. Maybe I'll try again.
>

Martin,

Which Servlet container was this?

You have to make sure that the 'setCharacterEncoding()' is called
before any (direct or indirect) attempt to read the parameters.  Jetty
traps this sequence error. Maybe others do not?

Chris

Received on Thursday, 7 August 2003 12:35:04 UTC