Message120276
> Antoine, a news client could guess it because of the Content-Type:
> header field (in this example, it mentions charset="gb2312").
> Yet, articles without a Content-Type: header field exist in the
> wild...
Unless I'm mistaken, Content-Type should only apply to the body, not the
headers. Either the headers use UTF-8 (RFC 3977), or they should be
MIME-encoded. Everything else is undecodable.
> There is no way to always make the right guess, unfortunately.
> News clients try to do their best :-)
Well, a news client built on nntplib could also try to do its best :)
> Yes, I mean b"\xC9ric". 4 bytes.
Ok, perhaps we should allow bytes username and password. |
|
Date |
User |
Action |
Args |
2010-11-02 22:48:21 | pitrou | set | recipients:
+ pitrou, eric.araujo, r.david.murray, jelie |
2010-11-02 22:48:20 | pitrou | link | issue10284 messages |
2010-11-02 22:48:20 | pitrou | create | |
|