cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: [C2] encoding of serialized output
Date Mon, 17 Sep 2001 08:18:36 GMT
Hi,

we are using capital letters for the encoding configuration:
  <encoding>ISO-8859-1</encoding>

This works for the html serializer. As the same base classes
are used, I hope that this should also work for the text
serializer.

Carsten


> -----Ursprungliche Nachricht-----
> Von: Christian Schmitt [mailto:cs@ffzj0ia9.bank.dresdner.net]
> Gesendet: Mittwoch, 12. September 2001 10:49
> An: cocoon-dev@xml.apache.org
> Betreff: [C2] encoding of serialized output
> 
> 
> Hi all,
> I have a problem here regarding the encoding of serialized output.
> Please consider the following scenario:
> 
> In the sitemap I declare the following serializer:
>  <map:serializer 
>       name="csv" 
>       mime-type="application/vnd.ms-excel" 
>       src="org.apache.cocoon.serialization.TextSerializer">
>    <encoding>iso-8859-1</encoding>
>  </map:serializer>
> 
> Now when a document is created using the "csv" serializer, I expect it
> to be in "iso-8859-1". But no, all I get is UTF-8 encoding which screws
> up my german special characters (Umlaute etc.).
> 
> Is there something in the code that sets encoding to some default 
> (UTF-8???)?
> I grep'ed for UTF-8 but that didn't turn up anything. I found the place
> in org.apache.cocoon.serialization.TextSerializer that sets the output
> properties, and up to there everything seems OK.
> 
> I'd appreciate any tips and/or hints.
> 
> Thanks,
> Christian Schmitt
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

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


Mime
View raw message