Dmitry Vasiliev a écrit :
Christophe Combelles wrote:
Did someone have a look on this error ? Is it a trivial thing, or a local configuration problem, or is it reproduceable?
(I write in utf-8, and I put # -*- coding: utf-8 -*- in my interfaces.py)

You must use unicode docstrings. The encoding declaration at the top of the module doesn't do any magic by itself but just tells Python from which encoding unicode strings can be decoded.

So your module should looks like this:

# -*- coding: utf-8 -*-
u"""Some docstring text in utf-8."""


That's it, that was actually trivial, I forgot the 'u' :)

thanks
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to