[Python-Dev] Can the cgi module be made Unicode-aware?
Martin v. Loewis
martin@v.loewis.de
11 Apr 2002 18:28:55 +0200
barry@zope.com (Barry A. Warsaw) writes:
> If the data is encoded in a non-ascii character set, wouldn't (or
> shouldn't) the Content-Type: header include a charset="xxx" parameter?
Yes, but none of the browsers does that. The urlencoded form doesn't
really support charsets in the first place. The multipart/form-data
could, but the browsers don't provide the information (in violation of
RFC 1867).
Regards,
Martin