I'm not familiar with that setting. Where does it live?
-Christopher
Joerg Heinicke <[EMAIL PROTECTED]>
06/26/2004 10:27 AM
|
To: [EMAIL PROTECTED] cc: Subject: Re: UTF-8 and Encoding Problems |
On 23.06.2004 23:44, Christopher Painter-Wakefield wrote:
> Are you using Tomcat? If you do some searches, you'll probably turn up
> other postings on this topic. I can't remember all the ins & outs, but
> supposedly the browsers incorrectly supply encoding information in their
> requests to Tomcat (ours were POST requests), and Tomcat by default assumes
> ISO-8859-1 encoding for the submitted form data. This gives you garbage
> data for anything outside plain ASCII, if your browser sends it in UTF-8.
> I found some webapp filter class that works with Tomcat to coerce the
> character encoding (or Tomcat's perception of the encoding) for all
> requests to UTF-8, to match all of our pages and forms. I can send you our
> filter and the web.xml entries separately; if you want them, just e-mail
> me. There may be better solutions now with Tomcat 5, but we have just kept
> on using this old filter, and it seems to do the trick.
>
> (Now that I think about it, I think this filter is/was supplied with the
> Tomcat source distribution, maybe. Look for the SetCharacterEncodingFilter
> class.)
Wouldn't setting 'form-encoding' to UTF-8 do the same?
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]