Re: [Zope3-dev] Encoding of the PageTemplateFile

2005-07-15 Thread Fred Drake
On 7/15/05, Dmitry Vasiliev <[EMAIL PROTECTED]> wrote: > - The code for guessing file input encoding in HTML mode based on the > 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 pagetem

Re: [Zope3-dev] Encoding of the PageTemplateFile

2005-07-15 Thread Dmitry Vasiliev
Andreas Reuleaux wrote: Some time ago there has been a discussion on Zope3-Users list about specifying an encoding of the PageTemplateFile like this: The encoding of a page template is an intrinsic property of the template itself and not determined by its use. This property should therefore

Re: [Zope3-dev] Encoding of the PageTemplateFile

2005-07-14 Thread Andreas Reuleaux
OK, I can live with that. But then I want the possibility to suppress the xml declaration when the page is sent to the browser, because otherwise IE will go into quirks mode. Say I want to use utf-8 in my page template, I can do so right now: I just have start my page template with an xml declarat

Re: [Zope3-dev] Encoding of the PageTemplateFile

2005-07-14 Thread Dieter Maurer
Dmitry Vasiliev wrote at 2005-7-12 18:19 +0400: >Some time ago there has been a discussion on Zope3-Users list about specifying >an encoding of the PageTemplateFile like this: > > template="tempalte.pt" > encoding="utf-8" > ... >/> The encoding of a page template is an intrinsic prope

[Zope3-dev] Encoding of the PageTemplateFile

2005-07-13 Thread Andreas Reuleaux
I have been reading the discussion "Encoding of the PageTemplateFile" of Philipp, Dmitry and Fred - through the Web: till now I have only been subscribed to zope3-users. I wanted to add to that discussion, so I just joined this zope3-dev list but obviously can't do a list reply yet. Philipp has al

[Zope3-dev] Encoding of the PageTemplateFile

2005-07-12 Thread Dmitry Vasiliev
Hi! Some time ago there has been a discussion on Zope3-Users list about specifying an encoding of the PageTemplateFile like this: So there are some questions: - Is anybody working on this? - What should be the default encoding if no encoding is given? UTF-8? - Can we include this functional