I am trying to read emails using imaplib. I get this body of the letter:
=C4=EE=E1=F0=FB=E9 =E4=E5=ED=FC!
This is a Quoted-printable encoding.
I need to get utf-8 from this. It should be !
I googled, but this is too messy with Python versions. This is already unicode in Python 3, I cannot use .encode('utf-8') here.
How can I change this to utf-8 ?
Qiao
source share