[Zope3-dev] Issue 124 in the collector.
Jim Fulton
jim at zope.com
Mon Feb 9 23:57:22 EST 2004
Nicolas Évrard wrote:
> Hello everyone,
>
> I've met the issue 124 from the collector again but I found a way around
> this issue.
AFAICT, this bug has been fixed.
> The Python you're using when running zope3 should have
> sys.defaultencoding set to 'utf' and not 'ascii'.
Absolutely, positively not!
We will not change the default encoding in Zope 3. This would
be a bug magnet.
Conversion to and from unicode is done by the publishing
layer. Application code should always deal with unicode.
Application code should almost never encode or decode strings.
If it does, it needs to specify an encoding.
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list