3 messages in com.googlegroups.pylons-discussgenshi
FromSent OnAttachments
Julien Cigar27 May 2007 16:01 
Shannon -jj Behrens27 May 2007 23:20 
Graham Higgins28 May 2007 03:17 
Subject:genshi
From:Julien Cigar (jcig@public.gmane.org)
Date:05/27/2007 04:01:02 PM
List:com.googlegroups.pylons-discuss

Hello,

I'm new to Pylons and a long-time Genshi user.

I wondered how can I tell to Pylons that the rendered template (with Genshi)
should be in utf-8 / xhtml-strict ?

I tried the following (middleware.py) but without success : config.template_engines = [] config.add_template_engine('genshi', 'ias.templates', {'genshi.encoding' :
'utf-8', 'genshi.output' : 'xhtml-strict'})

Any idea ?

Thanks, Julien