[Zope-Checkins] CVS: Zope27/lib/python/TAL - TALInterpreter.py:1.68.26.2

Toby Dickenson tdickenson@geminidataloggers.com
Mon, 9 Sep 2002 14:28:03 +0100


On Monday 09 Sep 2002 2:03 pm, Florent Guillaume wrote:

> I completely agree that this is not a panacea, and that it would be muc=
h
> better to put the correct StringIO in Zope and be done with it, but a
> completely corrected Unicode-aware StringIO is something I don't have
> and which is, from what I gather, not trivial. Guido probably has more
> info on that.

There is some trickyness here, but a solution has been agreed for DTML. S=
ee =20
DocumentTemplate.DT_Util.join_unicode for a string.join substitute that d=
oes=20
the right thing with mixed unicode and non-unicode strings.  Rolling that=
=20
into a ZPT-friendly StringIO shouldnt be hard.


This was originally on the Zope 2.6 roadmap:=20
http://lists.zope.org/pipermail/zpt/2002-April/003256.html