[Python-Dev] Encoding detection in the standard library?

Bill Janssen janssen at parc.com
Wed Apr 23 01:50:40 CEST 2008


> Yup, but DrProject (the target application) also serves as a relay and 
> archive for email.  We have no control over the agent used for 
> composition, and AFAIK there's no standard way to include encoding 
> information.

Greg,

Internet-compliant email actually has well-specified mechanisms for
including encoding information; see RFCs 2047 and 2231.  There's no
need to guess; you can just look.

Bill


More information about the Python-Dev mailing list