cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Sylvain.The...@swisscom.com>
Subject RE: [JXForm/XMLForm] how to set encoding
Date Mon, 17 Nov 2003 12:02:25 GMT
Hello,

Yes it was my problem and it WORKS!

Thanks
Sylvain

> -----Message d'origine-----
> De: Marcin Okraszewski [mailto:okrasz_news@o2.pl]
> Date: lundi, 17. novembre 2003 11:05
> À: users@cocoon.apache.org
> Objet: Re: [JXForm/XMLForm] how to set encoding
> 
> 
> > I would like to use accents (for french) and I'm looking 
> for a solution to set the encoding in ISO-8859-1.
> 
> I don't know, if I undestand you correctly, but if you have form 
> encoding problems, this may help (I received when asking for 
> woody, but 
> I think it doesn't matter):
> 
> 
> It's a problem with the default configuration of Cocoon, but it's easy
> to fix:
> 
> * edit the web.xml file, and uncomment the form-encoding init 
> parameter
> and set it to UTF-8 (do NOT touch the container-encoding parameter)
> 
> * edit the root sitemap.xmap, and set the encoding of the html
> serializer to UTF-8:
> 
>      <map:serializer logger="sitemap.serializer.html"
> mime-type="text/html" name="html" pool-grow="4" pool-max="32"
> pool-min="4" src="org.apache.cocoon.serialization.HTMLSerializer">
>        <encoding>UTF-8</encoding>
>      </map:serializer>
> 
> Regards,
> Marcin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

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


Mime
View raw message