Sorry - it was a question.
I don't know how to make the response sent to client contain a charset
attribute in Content-type header.

Artur
----- Original Message -----
From: "Tsui, Alban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 3:28 PM
Subject: RE: setCharacterEncoding in jsp page through cocoon?


What do you mean? How would I do that?

-----Original Message-----
From: arturl [mailto:[EMAIL PROTECTED]
Sent: 05 March 2003 14:25
To: [EMAIL PROTECTED]
Subject: Re: setCharacterEncoding in jsp page through cocoon?


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]

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

---------------------------------------------------------------------
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]

Reply via email to