RE: Form response charset

> > How do I tell what character set form data is submitted in?
> 
> There is a discussion of this issue in section 5 of RFC 2070.
> Ideally, the client sends something like
> 
> Content-Type: application/x-www-form-urlencoded; charset=UTF-8

But RFC 2070 doesn't say that. It says that 

   The best solution is to use the "multipart/form-data" media type
   described in [RFC1867] with the POST method of form submission. 

and

   A less satisfactory solution is to add a MIME charset parameter to
   the "application/x-www-form-urlencoded" media type specifier...

It's less satisfactory, of course, since application/x-www-form-urlencoded
isn't defined, if it were defined, it isn't implemented with a "charset"
parameter, and the "charset" parameter would have to apply uniformly
to all of the form data, even hidden fields.

Received on Tuesday, 13 April 1999 20:14:46 UTC