homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jelie
Recipients jelie
Date 2010年11月01日.20:22:38
SpamBayes Score 3.820372e-06
Marked as misclassified No
Message-id <1288642960.68.0.00972306001487.issue10284@psf.upfronthosting.co.za>
In-reply-to
Content
> +# - all commands are encoded as UTF-8 data (using the "surrogateescape"
> +# error handler), except for raw message data (POST, IHAVE)
> +# - all responses are decoded as UTF-8 data (using the "surrogateescape"
> +# error handler), except for raw message data (ARTICLE, HEAD, BODY)
It does not seem to work on my news server (news.trigofacile.com):
print(s.descriptions('*'))
Exception raised with an UnicodeEncodeError. I do not know what is happening.
The same command works fine with Python 2.7 and 3.0.
Also, for AUTHINFO, be careful that nntplib should not send an UTF-8 string but a byte string. (I have not tested.)
The username and the password are byte strings.
History
Date User Action Args
2010年11月01日 20:22:40jeliesetrecipients: + jelie
2010年11月01日 20:22:40jeliesetmessageid: <1288642960.68.0.00972306001487.issue10284@psf.upfronthosting.co.za>
2010年11月01日 20:22:39jelielinkissue10284 messages
2010年11月01日 20:22:38jeliecreate

AltStyle によって変換されたページ (->オリジナル) /