[issue2998] UnicodeEncodeError: 'ascii' codec can't encode character

Georg Brandl report at bugs.python.org
Thu May 29 16:34:52 CEST 2008


Georg Brandl <georg at python.org> added the comment:

Sorry, but you have to be more specific about what you think is a bug.
That the default encoding is ascii does have its reasons, and will not
change.

You're likely to be missing an explicit .encode() call when converting
from unicode to str; consult a Python mailing list or newsgroup with
details.

----------
nosy: +georg.brandl
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2998>
_______________________________________


More information about the Python-bugs-list mailing list