Thx.

At 16:03 27/11/2003 +0200, you wrote:
we have solve the same problem using action

<map:actions>
<map:action name="set-encoding" src="org.apache.cocoon.acting.SetCharacterEncodingAction"/>


...
...
...

<!-- === order form === -->
<map:pipeline>
<map:act type="set-encoding">
<map:parameter name="form-encoding" value="iso-8859-7"/>
</map:act>
<map:act type="locale">
<map:match pattern="order/proceed">
<map:aggregate element="order">
<map:part src="cocoon:/order/product"/>
<map:part src="cocoon:/order/def"/>
</map:aggregate>
<map:transform src="../htdocs/serverpages/order.xsl"/>
<map:serialize type="html"/>
</map:match>
<map:match pattern="order/product">
<map:generate src="../htdocs/serverpages/product.xsp" type="serverpages"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="order/def">
<map:generate src="../htdocs/serverpages/def.xml"/>
<map:serialize type="xml"/>
</map:match>
</map:act>
</map:pipeline>


-- stavros

On Thu, 27 Nov 2003, Boris Althaus wrote:

> Hallo Lionel,
>
> we had problems with this issues several times.
> Play arround with these two initparams.
> The strange thing was, that on different engines we had to change the container-encoding to avoid encoding problems.
> Now we do not have any problems with encoding anymore and we don't need entries in the sitemaps.
>
> <init-param>
> <param-name>form-encoding</param-name>
> <param-value>UTF-8</param-value>
> </init-param>
> <init-param>
> <param-name>container-encoding</param-name>
> <param-value>ISO-8859-1</param-value>
> </init-param>
> Boris
> ----- Original Message -----
> From: Lionel Crine
> To: [EMAIL PROTECTED]
> Sent: Thursday, November 27, 2003 11:57 AM
> Subject: encoding, UTF-8
>
>
> 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