Click the button to display the character encoding of the external script.
Prop Script Charset
## HTML DOM Script charset Property
The `charset` property of the HTML DOM Script object returns or sets the character encoding used in an external script file.
This property is particularly useful when the character encoding of the external script file differs from the encoding of the HTML document hosting it.
> **Note:** The `charset` property is only applicable to external scripts (i.e., when the `src` attribute is present on the `
YouTip