[Zope3-checkins] CVS: Zope3/src/zope/app/dtmlpage - dtmlpage.py:1.5
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Mar 18 23:26:17 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/dtmlpage
In directory cvs.zope.org:/tmp/cvs-serv14314/src/zope/app/dtmlpage
Modified Files:
dtmlpage.py
Log Message:
Store the source as unicode.
=== Zope3/src/zope/app/dtmlpage/dtmlpage.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/dtmlpage/dtmlpage.py:1.4 Mon Mar 15 08:10:47 2004
+++ Zope3/src/zope/app/dtmlpage/dtmlpage.py Thu Mar 18 23:26:16 2004
@@ -40,7 +40,7 @@
def setSource(self, text, content_type='text/html'):
'''See interface IDTMLPage'''
- self.template = HTML(text.encode('utf-8'))
+ self.template = HTML(text)
self.content_type = content_type
def render(self, request, *args, **kw):
More information about the Zope3-Checkins
mailing list