Thanks very much for this.  Unfortunately it is returning 'null' which means
that the request is not specifying a characterSet encoding.  So I am back to
my old problem of how to force the page to either encode things in UTF-8 or
if not then to say what it is encoding them in.

Is there something I can put in the HTML so that the client (browser) will
either encode in UTF-8 or send the encoding with the request?

Thanks,

Andoni.

----- Original Message -----
From: "Jon Roberts" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, February 17, 2003 8:58 PM
Subject: Re: UTF-8 Sending Euro symbol to Servlet in Form data. - SOLVED!!
;-)


> Andoni wrote:
> > I don't understand why the browser still insists on sending the data as
> > ISO-8859-1 if the header of the page and the accept-encoding tag on the
form
> > both explicitly specify UTF-8 ??  Bizarre ;-8
>
> If it helps... for Servlet API 2.0+, you can use the ServletRequest
> method getCharacterEncoding() to verify the charset used by the
> submitting page.
>
> Jon Roberts
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to