cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Gil <Sebastian....@insert.com.pl>
Subject Re: encoding
Date Fri, 28 Feb 2003 12:27:14 GMT
On Fri, 28 Feb 2003 12:36:00 +0100, arturl <arturl@pi.net.pl> wrote:

> But it seems setting only charset attribute in html <META> tag and not
> infuencing
> http header.
>
> Artur

Use action org.apache.cocoon.acting.SetCharacterEncodingAction

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

<map:match pattern="my-encoding.html">
	<map:act type="set-encoding">
          	<map:parameter name="form-encoding" value="utf-8"/>
	</map:act>
          <map:generate src="my-file.xml"/>
          <map:serialize type="html"/>
</map:match>

Regards.
SG.


-- 
Keep on rolling

mailto: create@insert.com.pl
http://create.e-informatyka.pl

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


Mime
View raw message