I've just recently gone through a bit of research on this - servers have no obligation to respect META tags - they are an HTML element, not a part of the HTTP protocol. As a rule, if you want the server to care, you need to set tyhe header yourself. There are exceptions to the rule, but I'm not aware of many in this case...
> ---------- > From: Alex Kachanov[SMTP:[EMAIL PROTECTED]] > Reply To: [EMAIL PROTECTED] > Sent: Friday, January 11, 2002 8:04 AM > To: [EMAIL PROTECTED] > Subject: RE: Cocoon 2 international language support > > Well, it appears that it's not > At least Tomcat does not do this > > > > -----Original Message----- > From: Joerg Heinicke [mailto:[EMAIL PROTECTED]] > Sent: 11 > §ñ§ß§Ó§Ñ§â§ñ 2002 §Ô. 22:55 > To: [EMAIL PROTECTED] > Subject: Re: Cocoon 2 international language support > > > 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:[EMAIL PROTECTED]] > > Sent: 11 §ñ§ß§Ó§Ñ§â§ñ 2002 §Ô. 18:46 > > To: [EMAIL PROTECTED] > > 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 > [EMAIL PROTECTED] > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- > 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]> > --------------------------------------------------------------------- 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]>