You're right, i didnt see it!! :-) Thank you again! ByeBye, Paolo Scaffardi Embedded Linux Developer
AIRVENT SAM S.p.A. via Macanno 32 - 47900 Rimini ITALY Tel. 0541 383294 Fax. 0541 387086 > -----Original Message----- > From: Matthieu Benéteau [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 28, 2002 10:25 AM > To: [EMAIL PROTECTED] > Subject: RE: How to change response contenttype? > > > > working with Cocoon 2.0.2 i discovered that every > serialized HTML > > file contains a line like that: > > > > <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> > > > > But, i cannot find where i can tell cocoon to set another charset > > before the response.getWriter() call? > > Just add an "encoding" parameter in the declaration of your > HTML serializer. For instance : > > <map:serializer name="html" mime-type="text/html" > logger="sitemap.serializer.html" > > src="org.apache.cocoon.serialization.HTMLSerializer"> > <encoding>iso-8859-1</encoding> > </map:serializer> > > Hope it helps ! > Matthieu > > > --------------------------------------------------------------------- > 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]>