You can specify a "encoding" parameter in the HTML Serializer definition in the sitemap like this:
<map:serializer name="html" mime-type="text/html" logger="sitemap.serializer.html" src="org.apache.cocoon.serialization.HTMLSerializer" pool-max="128" pool-min="16" pool-grow="16"> <encoding>UTF-8</encoding> </map:serializer> There you can try to put "UTF-8" or "iso-8859-1" or what you want. Another remark: Which browser are you using? There are some problems in Netscape 4.x and special unicode characters translated from the HTML Serializer to namend entities. Stefan > -----Original Message----- > From: Barbara Post [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 22, 2002 9:31 AM > To: [EMAIL PROTECTED] > Subject: cocoon 2.0.3, xalan 2.3.1, output encoding > > > I read the following on apache's website : > > When you use the <xsl:output> encoding attribute to set > output character > encoding, you should not use StreamResult(java.io.Writer) to > construct a > StreamResult object to hold the transformation result. If you > do, the Writer > uses its own encoding rather than the encoding specified in > the stylesheet. > > If you want to use a Writer, you can specify an encoding when > you create the > Writer (java.io.OutputStreamWriter). Once the Writer exists, > you cannot > reset the encoding it uses. > > So I guess that I have a default configuration to alter for > cocoon to output > html in iso-8859-1 instead of utf-8 ? How did you solve it by > experience > with other encodings ? utf-8 does not render well in my browser as for > accentued characters... > > Thanks > > Babs > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.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/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>