JavaScript DHTML/Document/Charset
"charset" Example
<html>
<body>
<button onclick="alert(document.charset);">Character Encoding for Document</button>
</body>
</html>
"defaultCharset" Example
<html>
<body>
<button onclick="alert(document.defaultCharset);">Default Charset</button>
</body>
</html>
"getCharset()" Example
<html>
<body>
<script language="JavaScript">
function function1() {
alert(myDiaHelp.getCharset("Verdana"));
}
</script>
<input type="button" value="GetCharSet" onclick="function1();">
<object id="myDiaHelp"
classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b"
width="0px"
height="0px">
</object>
</body>
</html>