W3C home > Mailing lists > Public > www-international@w3.org > July to September 2003

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

From: Chris Haynes <chris@harvington.org.uk>
Date: Thu, 7 Aug 2003 17:25:37 +0100
Message-ID: <003101c35d00$8970a570$0200000a@ringo>
Cc: <www-international@w3.org>

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.


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?

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:04:20 UTC