[ISO-8859-1] Aurйlien DEHAY писал(а):

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 :).




Well, I didn't changedthis configuration and left it commented in my web.xml, that's probably why it works for me.



Rgds

That was discussed in the list before. Marc Portier recomended me refering to source code to understand how does the container encoding actually works. See
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=109352638022695&w=2


I personaly don't even touch the container encoding parameter and just set the form encoding parameter to utf-8 and use the same encoding in the HTMLSerializer.

Timur

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



Reply via email to