Change HTML serializer encoding setting in cocoon.xmap:
<map:serializer name="html" mime-type="text/html"
src="org.apache.cocoon.serialization.HTMLSerializer">
<encoding>youencoding</encoding>
</map:serializer>
thus, HTML returned from C2 has correct charset information:
<META http-equiv="Content-Type" content="text/html; charset=youencoding">
>How can I make Cocoon insert charset information in the header of the response?
>
>Right now it just gives
>
>Content-Type: text/x-hdml
>
>I want
>
>Content-Type: text/x-hdml; charset=shift_jis
>
>
>
>with best wishes
>Alexander Kachanov
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>