cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <jheini...@virbus.de>
Subject Re: Cocoon 2 international language support
Date Fri, 11 Jan 2002 13:54:49 GMT
AFAIK is the <meta> for the server too. It has to read it and set the
HTTP-header correctly.

Joerg

Alex Kachanov wrote:

> 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


-- 

System Development
VIRBUS AG
Fon  +49(0)341-979-7411
Fax  +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de


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