[email protected] wrote:
> The quickstart for Genshi has the line
>
> <meta content="text/html; charset=UTF-8" http-equiv="content-type"
> py:replace="''" />
>
> as the first line of the head section for both the master.html and the
> welcome.html.
>
> I've been dutifully following this example.  But today I started
> cleaning up and simplifying my templates.  I'm wondering whether it is
> really necessary to have this line in each template if it's also in my
> master template.
>   
It's not absolutely necessary since TG will send a content-type header 
to the client when it renders them (in fact, as you can see, that tag 
will be stripped when processed) but it is useful if your templates 
contain UTF8 characters and want them to display properly when editing them.

Alberto

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

Reply via email to