[Zope3-checkins] CVS: Zope3/src/zope/app/zptpage - zptpage.py:1.7
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Mar 19 18:35:35 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/zptpage
In directory cvs.zope.org:/tmp/cvs-serv12392/src/zope/app/zptpage
Modified Files:
zptpage.py
Log Message:
Fixed issue 154. TTW ZPT code is now stored as unicode.
=== Zope3/src/zope/app/zptpage/zptpage.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/zptpage/zptpage.py:1.6 Mon Mar 15 08:10:55 2004
+++ Zope3/src/zope/app/zptpage/zptpage.py Fri Mar 19 18:35:04 2004
@@ -53,7 +53,7 @@
"""See zope.app.zptpage.interfaces.IZPTPage"""
if not isinstance(text, unicode):
raise TypeError("source text must be Unicode" , text)
- self.pt_edit(text.encode('utf-8'), content_type)
+ self.pt_edit(text, content_type)
# See zope.app.zptpage.interfaces.IZPTPage
source = property(getSource, setSource, None,
More information about the Zope3-Checkins
mailing list