cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: [C2] HTMLGenerator problem
Date Fri, 20 Apr 2001 13:27:58 GMT
Christian,

For #2, In your cocoon.xconf, modify the serializer to look as follows:

   <map:serializer name="html"   
                   mime-type="text/html"
                   src="org.apache.cocoon.serialization.HTMLSerializer">
      <encoding>ISO-8859-1</encoding>
   </map:serializer>

Take a look at AbstractTextSerializer for other params that you can specify.

Thanks,
dim

--- "Schmitt, Christian" <Christian.Schmitt@Dresdner-Bank.com> wrote:
> Hi all,
> I've tried the HTMLGenerator for the first time. Now I have two things
> buggin' me:
> 
> 1) In the output I get an additional ">" at the start of the document
> 
> 2) The character set is set to UTF-8 all the time. Is there a way I can set
> it to a different value (i.e. ISO-8859-1)?
> 
> 
> Thanks for any tips,
> Christian Schmitt
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

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


Mime
View raw message