Skip to main content

4.6. The _charset_ Field for Default Charset

4.6. The charset Field for Default Charset​

Some form-processing applications (including HTML) have conventions that establish a default character encoding for form data. For example, [W3C.REC-html5-20141028] establishes a default encoding via the accept-charset attribute of the form element or the charset of the document carrying the form.

In such cases, a charset field may be used to transmit the value of that default. The charset field, if it exists, should be the first field of the form-data content. Its value is the name of the character encoding used in form field names and values that do not have an explicit charset parameter.