2.1.4 [HTML] Section 6.9, Character encodings

V0004:

The specification states:

 Values must be strings (e.g., "euc-jp") from the IANA registry (see [IANA-CharSets] 
 for a complete list).

All Document Modes (All Versions)

When an invalid value is passed into thecharset attribute, a valid SCRIPT element can still be produced.