[issue3714] nntplib module broken by str to unicode conversion
STINNER Victor
report at bugs.python.org
Tue Oct 14 14:20:42 CEST 2008
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Ok for UTF-8 which is a superset of ASCII and raise an error when
trying to decode Latin1 or KOI-8.
> You need to have a possibility to change encoding after object
creation
If you share a connection for the different groups, you will have to
take care of the side effets of set_encoding(). But if you consider
that set_encoding() is a must-have, ok, forget my patch (because using
makefile(), it's not possible to change the charset) ;-)
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3714>
_______________________________________
More information about the Python-bugs-list
mailing list