Re: [Zope-dev] zope.documentetemplate breaks with unicode

2009-04-23 Thread Christian Theune
On Mon, 2009-04-06 at 08:27 +, 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 · c...@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


signature.asc
Description: This is a digitally signed message part
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] zope.documentetemplate breaks with unicode

2009-04-06 Thread Jens W. Klein
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?

regards Jens
-- 
Jens W. Klein - Klein  Partner KEG - BlueDynamics Alliance

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )