Christoph Zwerschke wrote: > Roger Demetrescu wrote: >> Christoph Zwerschke wrote: >>> This does not happen for me with TG1/Kid. Kid always replaces/adds the >>> meta header with the kid.encoding of your configuration. The tags in the >>> templates are only there so that the template is displayed correctly >>> when viewed directly in the browser. >> Hmmm... my TG1 project uses Genshi... Is there any similar >> configuration for Genshi ? > > I don't see anything similar in Genshi, so you're right, the > py:replace="''" should be probably removed from the Genshi templates. > Maybe you can ask on the Genshi list to be sure? I think this is a nice > feature of Kid that would be useful for Genshi, too.
Probably Genshi deals in unicode objects, and the encoding is something that is determined when it is serialized, not based on the encoding of the original template. So <meta> tag may or may not be correct, and probably the way to get it in properly would be to have Genshi add it in itself during serialization, rather than try to preserve it through the transformations. It might already have an option to do that. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
