Saulius,

you can find an explanation here:
http://wiki.apache.org/cocoon/RequestParameterEncoding?action=highlight&value=container-encoding
(with highlight of the section that might interest you most)

there is more in the mail archives of this list, since this has been touched upon quite a lot.

the short answer on your remark: your application maybe codes everything in utf-8, but the web-container (jetty or tomcat or...) is not.

cocoon uses the two parameters to correct the applied container-decoding into the by you wanted form-encoding

regards,
-marc=


Saulius Grigaliunas wrote:
Hello Aur�lien,



Maybe you can look at the encoding of xsl file, or try with xalan. It
was the only thing I change to make my forms utf-8 aware.


Well thanks for your help, that didn't work, but I accidently found
solution myself, in web.xml I've changed the configuration like this:
<init-param>
      <param-name>form-encoding</param-name>
      <param-value>utf-8</param-value>
</init-param>
and
<init-param>
      <param-name>container-encoding</param-name>
      <param-value>ISO-8859-1</param-value>  <!-- <- and not utf-8 -->
</init-param>

I don't really understand why it should be iso-8859-1 if everything is
encoded in utf-8 in my application, but if it works, that's alright
for me :).



-- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ [EMAIL PROTECTED] [EMAIL PROTECTED]

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



Reply via email to