Re: Email parsing and unicode/utf8

2018-10-15 Thread dieter
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 parser is likely th

Re: email parsing

2008-08-27 Thread Alan Franzoni
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 "