Click to Rate and Give Feedback
Properties
 defaultCharset Property
defaultCharset Property

Gets the default character set from the current regional language settings.

Syntax

[ sCharset = ] document.defaultCharset

Possible Values

sCharsetString that specifies or receives the default character set.

The property is read-only. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The value depends on the current regional language settings. For typical settings in North America, the value is windows-1252. For a list of other possible language settings, see Charsets in Microsoft Internet Explorer 5.

Standards Information

There is no public standard that applies to this property.

Applies To

document
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker