cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <cr...@4dconcept.fr>
Subject Re: [once again] best way to set http header encoding
Date Mon, 23 Feb 2004 12:41:24 GMT
Hi,

there is an action which change the http-header encoding in Cocoon 2.1 -> 
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/acting/HttpHeaderAction.html

In the serializer, you can specify the output encoding of the flow.
See the main sitemap of Cocoon to have an example.

If you want two differents exit, then you should define two serializers but 
it's not a problem.

Lionel

At 23:20 16/02/2004 +0100, you wrote:
>[SORRY, ONCE AGAIN MY QUESTION, BECAUSE THERE WAS NO ANSWER]
>
>hi there
>
>i wonder that cocoons serializer just writes a meta-tag with the encoding 
>in the html-page. it doesn't do this in the http-header.
>
>therefore apache set the http-header to his standard-encoding and 
>"destroys" the correct encoding of the response, because most browsers 
>ignore the meta-tag if the http-header-encoding is set.
>
>so i need to set the http-header-encoding with cocoon and ask you all, 
>whats the best way to do this. are there any actions, logicsheets or 
>something else?
>
>thanks and greetings
>stefan
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org

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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message