cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jari Aarniala" <...@dlc.fi>
Subject Re: LDAP and german characters
Date Tue, 21 Mar 2000 22:05:08 GMT
| Also is it possible to set the encoding-type of the page wich is send
| from Cocoon to the user? I would like to set it to ISO-8859-2. But all
| my attemps took no effect to the encoding-string in the outputed page.

I donĀ“t know whether this is a good solution, but I had a problem of the
same kind which I solved like this:

I wrote a custom formatter, or actually just a slight modification of the
org.apache.cocoon.formatter.XMLFormatter, just added the line

    format.setEncoding("iso-8859-1");

to it. Now I get xml-files printed out with the 8859-1 encoding instead of
the utf-8 it was giving me.

    Jari Aarniala


Mime
View raw message