struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Patterson Waltz III" <>
Subject Re: Character encoding problems after 1.1 to 1.2.4 upgrade
Date Tue, 04 Jan 2005 16:35:27 GMT
Merci Guillaume,

I had actually seen the references to the Filter solution in the comments of
Struts bug 16191 in Bugzilla:

I will try that out and see if it improves my results.

I remain perplexed at what changes between versions 1.1 and 1.2.4 of Struts
caused it to become susceptible to this problem. Any ideas on that?


P.S. - I know how to view the headers of replies sent from the server to the
browser, but am not sure how to get at those sent from the browser to the
server, to make sure that they are indeed UTF-8. Any suggestions?

in article, Guillaume Cottenceau at
wrote on 4/01/05 16:40:

> Most probably the browser is sending data in UTF-8 but doesn't
> say so with charset= in the Content-Type header. If you're
> confident enough that the browsers will send UTF-8 (which should
> be the case if they are encoded in UTF-8 and you use
> accept-charset in the forms), you can use a filter which forces
> the HTTP request to be seen as UTF-8 in input (for example
> filters/SetCharacterEncodingFilter which is bundled with
> tomcat)[1].

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message