Julien ÉLIE <jul...@trigofacile.com> added the comment:

Éric:  there is no notion of encoding in a few NNTP commands.
Regarding AUTHINFO, the real string that I should have written is:

AUTHINFO USER \xC9ric

7-bit bytes are considered to be encoded in ASCII.
8-bit bytes are just 8-bit bytes.  No encoding.

The news client and the news server have to agree on the setting.  
Authentification occurs between them.
I can imagine the news client in ISO-8859-1 and the news server in ISO-8859-15, 
and a password with a « € » sign in.  Then the password will not be the "same" 
(when entered on the keyboard), but will match in bytes!


I hope my explanation was clear enough now.
No encoding, just byte strings here!

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10284>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to