cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Van Kets" <b...@vankets.com>
Subject Re: Change encoding to ISO-8859-1
Date Mon, 23 Feb 2004 20:45:42 GMT
I use JEdit to change file encodings. It allows you to read a file in a
certain encoding, change the buffer to a different encodig, make corrections
where necessary and write out in the new encodig.

I thought I'd mention for those not knowing JEdit.

Bert


----- Original Message ----- 
From: "Joerg Heinicke" <joerg.heinicke@gmx.de>
To: <users@cocoon.apache.org>
Sent: Monday, February 23, 2004 9:39 PM
Subject: Re: Change encoding to ISO-8859-1


> On 23.02.2004 21:34, Carlos Dias wrote:
>
> > Hi!!!
> > I know this is a issue largely discussed here, but for me the tips that
I read didn't work.
> > I already try to set the current encoding in the sitemap, like you can
see here:
> >    <map:serializer logger="sitemap.serializer.html" name="html"
mime-type="text/html"
> >        pool-grow="4" pool-max="32" pool-min="4"
> >        src="org.apache.cocoon.serialization.HTMLSerializer">
> >     <encoding>ISO-8859-1</encoding>
> >     <omit-xml-declaration>true</omit-xml-declaration>
> >    </map:serializer>
> >
> >    <map:serializer logger="sitemap.serializer.xml" name="xml"
> >        src="org.apache.cocoon.serialization.XMLSerializer"
> >        mime-type="text/xml" pool-max="32" pool-min="16" pool-grow="4">
> >     <encoding>ISO-8859-1</encoding>
> >    </map:serializer>
> >
> > After that I keep getting the same error:
> > "org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
org.xml.sax.SAXException: Original Exception IOException : Invalid byte 2 of
3-byte UTF-8 sequence"
>
> I think the problem is not the encoding setting of Cocoon, but in the
> file you are accessing in this pipeline. The encoding *specified* in
> this file (or default UTF-8) does not seem to match the encoding *of*
> the file.
>
> Joerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message