cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: UTF-8 form and URL parameters encoding
Date Thu, 03 Feb 2005 11:19:01 GMT
Dominique Galland wrote:
> I have carefully read the Wiki
> http://wiki.apache.org/cocoon/RequestParameterEncoding?action=highlight&value=container-encoding

> <http://wiki.apache.org/cocoon/RequestParameterEncoding?action=highlight&value=container-encoding>

> 
> but I have still a problem with parameter encoding
> 
> Pages are serialized in UTF-8
> URL are encoded with the URLEncode Transformer
> Tomcat container-encoding  is ISO-8859-1
> Tomcat form-encoding is UTF-8
> It works well for form parameters but not for encoded URL's that 
> contains non ASCII Characters in their parameters
> Those URL are correctly displayed by the browser but on submit the 
> parameters decoding fails.
> If I change Tomcat container-encoding to UTF-8 (just for trying) it 
> works with the URL's but not for the form parameters
> I dont understand the difference and how I can specify and encoding 
> which works in both cases.
> 
> Does someone have an idea. ?
There surely was a discussion about that on cocoon-users list some time ago.

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message