charset

This property is used to return what language, or character set, is being used by the user's browser.

syntax:

document.charset

This Property is used to access attributes of the following:

META
document