HTML <form> accept-charset Attribute
Example
<form action="action.php" accept-charset="utf-8">
Meaning
accept-charset attribute specifies the list of character encodings for input data that must be accepted by the server processing the form.
The value is a space- or comma-delimited list of character sets as defined in RFC 2045. The default value for this attribute is the reserved value unknown.
Standard Syntax
<form accept-charset="characterSet">
Browser Support
Status
Attribute Values
Value | Description |
---|---|
characterSet | Space-separated character encodings the server accepts.
Most common values:
|