Hi Andre,
On 29/09/2010 12:01, Andre Juffer wrote:
Actually, Tomcat does, but Jetty does not (by default, UTF8).
According to specification, servlet engine are suppose to decode using
ISO-8859-1 by default.
I don't see any difference between both.
And lo: changing the (over-eager?) container-encoding parameter in
web.xml back to the default:
<init-param>
<param-name>container-encoding</param-name>
<param-value>ISO-8859-1</param-value>
</init-param>
Do I understand this correctly: you have encoded everything in UTF8,
but to able to read your input fields (UTF8) you need to decode their
value with ISO-8859-1 on the server?
Apparently: even Arabic text comes out fine with ISO-8859-1, not with
UTF-8 (as I've mentioned in another reply on the ML).
I have had cases where the browser was encoding in ISO-8859-1 despite
the presence of Content-type set to "text/html; charset=UTF-8" (it
simply ignored the HTTP header value).
All my browsers interpret my test case as UTF-8 (with container-encoding
set to ISO-8859-1)...
Kind regards,
Ron
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org