On Sun, February 18, 2007 1:29 pm, Jostein Leira wrote:

> After the comments in the Collector above I'm wondering what to do if I
> should not set the sys.setdefaultencoding()? Not changing the default
> encoding I always get a decode error when trying to save a page template
> with non-ascii characters.

>From the Collector:
> Correction: I can save page templates containing non-ascii characters,
but > not like this:
> <tal:block tal:content="python:'æøå'"/>

tal:content="python: unicode('æøå','utf8')"

I have had to do this on some of my templates after moving to 2.10.2

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

Reply via email to