¡@

Home 

python Programming Glossary: rfc2047

how to tell if a string is base64 or not

http://stackoverflow.com/questions/271657/how-to-tell-if-a-string-is-base64-or-not

to the headers. gb2312 B uLGxvmhlbrixsb5nLnhscw That's an RFC2047 encoded header atom. The stdlib function to decode it is email.header.decode_header.. This is simply wrong. What mailer created it RFC2047 encoding can only happen in atoms and a quoted string is not.. only happen in atoms and a quoted string is not an atom. RFC2047 §5 explicitly denies this An 'encoded word' MUST NOT appear..