[issue3714] nntplib module broken by str to unicode conversion

Dmitry Vasiliev report at bugs.python.org
Tue Oct 14 14:11:59 CEST 2008


Dmitry Vasiliev <dima at hlabs.spb.ru> added the comment:

Oh, you need to read the comments first:

- Use of ISO-8859-1 it's a bad idea here. See msg72776 for details.
Moreover RFC-3977 explicitly say about UTF-8, so I think we need to use
UTF-8.
- Maybe set_encoding() isn't needed but you need to have a possibility
to change encoding after object creation. Because different groups can
use different encodings. But with makefile() addition you just remove
this possibility.

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


More information about the Python-bugs-list mailing list