[Zope-dev] zope.documentetemplate breaks with unicode

Christian Theune ct at gocept.com
Thu Apr 23 02:03:51 EDT 2009


On Mon, 2009-04-06 at 08:27 +0000, Jens W. Klein wrote:
> We're using zope.documenttemplate for ArchGenXML code generation. 
> 
> If we feed it with unicode-strings it breaks while joining its rendered 
> parts, see http://zope3.pov.lt/trac/browser/zope.documenttemplate/trunk/
> src/zope/documenttemplate/pdocumenttemplate.py#L335
> 
> I know, DTML is rarely used, but for code-generation its fine. Is this a 
> bug or does DTML not support unicode?

I don't know this code well, but I think we support unicode in general
and breakage while joining parts sounds like a typical bug.

Do the tests talk about unicode somewhere?

Christian

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20090423/716d5df4/attachment-0001.bin 


More information about the Zope-Dev mailing list