[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/ZPTPage - ZPTPage.py:1.3

Martijn Faassen faassen@vet.uu.nl
Wed, 3 Jul 2002 20:06:08 +0200


Jim Fulton wrote:
> Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/ZPTPage
> In directory cvs.zope.org:/tmp/cvs-serv8118
> 
> Modified Files:
> 	ZPTPage.py 
> Log Message:
> Added code to encode unicode editing input to utf-8 because page
> templates expect string text.
> 
> This was necessary to make editing work.

But in my opinion eventually ZPT should just work with Unicode instead.
(last I checked there was a single str() in there..)
If not, we have a problem with Zope 3 as our content is going to be
stored at Unicode. The right place to convert to anything 8-bit is
after the page template did its work.

This is just me trying to play unicode watchdog. :)

Regards,

Martijn