Patrick Ulmer wrote at 2007-8-24 10:26 +0200:
>I think I solved the problem.
><dtml-var "MessageCatalog('Hallo Welt!').encode('utf-8')">
>works. I read some further and found out that I should use something like
>import sys
>I set it global in under /usr/lib/python2.4/site-packages and 
><dtml-var "MessageCatalog('Hallo Welt!')">
>works. Now I only must find the right place for setdefaultencoding() so
>it only affect my zope-instance.

"$INSTANCE_HOME/lib/python" would be a good place for the

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to