Hi all, I've been playing around with TG2 on a prototype project with the view of using it for a real project if it supports everything I need.
Currently I'm having trouble finding how I can * change Genshi's output between HTML and XHTML. * change the Genshi default output encoding * Make sure that the HTTP headers returned in the response match the two items above. * Make sure that incoming query string parameters are decoded to unicode strings using the same encoding. * Be able to access the encoding used in my functions So far I've spent about two hours reading through docs and source and haven't been able to find any of this out. In tg1 with kid it was simply a case of setting the following in the config file: kid.outputformat="html" kid.encoding="ISO-8859-1" and then using the following in the code: turbogears.util.get_template_encoding_default() Any help with this would be great, since if I can't do this I'll have to stick to using TG1, which would be a shame as there's a few nice things in TG2 that I'd like to be able to use! Thanks, Nick --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

