Form.acceptCharset (Property)

The character set that the form will be prepared to accept input from.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myForm.acceptCharset

This becomes important if you are serving forms to different international language communities. You need to define the character set that your form is able to accept.

This property may return a single character set or a list of character sets that can be supported.