Andreas Jung wrote at 2006-12-20 19:34 +0100:
>Right. The pt_render() should return unicode only. Let's assume
>FSPageTemplates would use unicode internally and a customized copy (an
>instance of ZopePageTemplate) wouldn't then we would definitely run
>into UnicodeDecode errors. That's why we should use unicode as internal
>representation where possibly. However applications will likely run into
>UnicodeDecode error for example with scripts returning non-unicode...
Yes, you need "all text is unicode" or non-unicode encoded in a
default encoding. Its up to you, how you define "default encoding".
I would use Python's default encoding. But I know that we disagree
on this solution :-)
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests