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:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 12. September 2001 10:49
> An: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to