defaultCharset property

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

Syntax

HRESULT value = object.put_defaultCharset( v);HRESULT value = object.get_defaultCharset(* p);

Property values

Type: BSTR

the default character set.

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.

The IHTMLDocument2::defaultCharset method is not implemented; therefore, the property is read-only.