[Zope3-dev] Encoding of the PageTemplateFile

Fred Drake fdrake at gmail.com
Fri Jul 15 09:33:10 EDT 2005


On 7/15/05, Dmitry Vasiliev <lists at hlabs.spb.ru> wrote:
> - The code for guessing file input encoding in HTML mode based on the <meta>
> declaration. I can do it, but should the code be somewhere inside
> PageTemplateFile or inside HTMLTALParser?;

I'd add it to PageTemplateFile.py for Zope 2, and pagetemplatefile.py
for Zope 3.

> - Some options to suppress/change <?xml ?> and <meta> declarations;

Yes.

> Maybe we need to delay all this changes till Z3.2 (Z3.1.1)?

I think it's a bug that we don't honor the input encoding, so that
much at least should go into 3.1.  The other bits fall out from that.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
Zope Corporation


More information about the Zope3-dev mailing list