[issue10284] Exception raised when decoding NNTP newsgroup descriptions

Julien ÉLIE report at bugs.python.org
Mon Nov 1 21:58:20 CET 2010


Julien ÉLIE <julien at trigofacile.com> added the comment:

Yes, you're right.
I meant to say that AUTHINFO is not expecting a UTF-8-encoded string.

For instance:

AUTHINFO USER Éric

is valid and should not always be transformed by nntplib to:

AUTHINFO USER Éric


News servers do a byte-string comparison (as specified in RFC 4643).  So if « Éric » is the expected user name, then it is this very name that is expected!

----------

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


More information about the Python-bugs-list mailing list