In fact :


The "encoding" parameter for the serializer modify the <?xml ...?> declaration according the the value.
Now I'm sure of that, my previous message was false.


Now, I'm using that :

 <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">
         <buffer-size>1024</buffer-size>
         <encoding>UTF-8</encoding>
 </map:serializer>

This lines above allow me not to set the form-encoding parameter as UTF-8 in the web.xml.

Finally, the form is working well. But the url parameters are not encoded well if I make a go back from the result page to the form page.
I think xsl can't encode the parameter. Maybe an xsp could do that.


For instant, instead of using a <a href>, I use a <form> with <input type="hidden">.

Lionel

At 13:02 27/11/2003 +0100, you wrote:
Did you set the form-encoding parameter in web.xml?

Guido

Lionel Crine wrote:
> Hi,
>
> I want to put the entire plateform into UTF-8. For now, cocoon is
> using ISO-8859-1.
>
> Here what I've already done :
>
> <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">
>          <buffer-size>1024</buffer-size>
>          <encoding>UTF-8</encoding>
> </map:serializer>
>
>
> But that's not enough because I have many problem with the form.
> When I reload it with some request parameter (using xsl:value-of).
>
> The characters are not display good.
>
> For example the � become �f© .
> Any idea ?
>
> I use Cocoon 2.0.4
>
> Lionel
>
>
>
>
> Lionel CRINE
> Ing�nieur Syst�mes documentaires
> Soci�t� : 4DConcept
> 22 rue Etienne de Jouy 78353 JOUY EN JOSAS
> Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Lionel CRINE Ing�nieur Syst�mes documentaires Soci�t� : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


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



Reply via email to