Do you, how to add charset attribute to response Content-Type http header?
The action doesn't change the header.

Artur

----- Original Message -----
From: "Leszek Gawron" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 2:47 PM
Subject: Re: setCharacterEncoding in jsp page through cocoon?


> On śro, mar 05, 2003 at 08:37:57 -0500, Tsui, Alban wrote:
> > Could you tell me how to use the cocoon SetCharacterEncodingAction ?
> Declare it:
> <map:action logger="sitemap.action.characterencoding"
name="characterencoding"
>
src="org.apache.cocoon.acting.org.apache.cocoon.acting.SetCharacterEncodingA
ction">
> <form-encoding>utf-8</form-encoding>
> <map:action>
>
> and then use it just like yours
>
> yo ucan also override the default parameter by :
>
> <map:act type="characterencoding">
> <map:parameter name="form-encoding" value="iso-8859-2"/>
> <!-- rest of stuff goes here -->
> </map:act>



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

Reply via email to