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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to