cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Kachanov" <a...@intadev.com>
Subject RE: RE: Cocoon 2 international language support
Date Fri, 11 Jan 2002 11:48:09 GMT
I do not need it in <meta>
I need it in HTTP header



-----Original Message-----
From: YANG Qiandong [mailto:qdyang@bioinfochina.com]
Sent: 11 января 2002 г. 18:46
To: cocoon-users@xml.apache.org
Subject: Re: RE: Cocoon 2 international language support


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


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


Mime
View raw message