Thomas Jollans writes:
> I just stumbled over some curious behaviour of the stdlib email parsing
> APIs which accept strings rather than bytes. It appears that you can't
> parse an 8-bit UTF-8 message you have as a str without first encoding it.
The primary purpose of an email pa
Hi,
I just stumbled over some curious behaviour of the stdlib email parsing
APIs which accept strings rather than bytes. It appears that you can't
parse an 8-bit UTF-8 message you have as a str without first encoding it.
The docs
<https://docs.python.org/3/library/email.parser.html#fe
ra9ftm was kind enough to say:
> It is my first script on python. Don't know is it correctly uses
> modules, but it is working fine with specially with russian code pages
> and mime formated messages. Also quoted-printable and base64
> encoded
Some hints:
1) don't write
"x",
use
"
It is my first script on python. Don't know is it correctly uses
modules, but it is working fine with specially with russian code pages
and mime formated messages. Also quoted-printable and base64
encoded
It will be very good if anybody post any comments on this script. Is
it good or bad...