[Python-Dev] Encoding detection in the standard library? (original) (raw)

Greg Wilson gvwilson at cs.utoronto.ca
Wed Apr 23 01:08:12 CEST 2008


Bill Janssen: Since the site that receives the POST doesn't necessarily have access to the Web page that originally contained the form, that's not really helpful. However, POSTs can use the MIME type "multipart/form-data" for non-Latin-1 content, and should. That contains facilities for indicating the encoding and other things as well.

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.

Thanks, Greg



More information about the Python-Dev mailing list