Ian Bicking schrieb:
> 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.

That's exactly what Kid does. It injects a meta tag with the encoding 
chosen for serialization or the one from the template if nothing was 
specified. Genshi doesn't seem to have such a feature. Maybe we could 
set a standard template variable with the output encoding and put this 
in the meta tag of the master genshi template.

-- Christoph

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to