JavaScript DHTML/Document/Charset
"charset" Example
<source lang="html4strict">
<html> <body> <button onclick="alert(document.charset);">Character Encoding for Document</button> </body> </html>
</source>
"defaultCharset" Example
<source lang="html4strict">
<html> <body> <button onclick="alert(document.defaultCharset);">Default Charset</button> </body> </html>
</source>
"getCharset()" Example
<source lang="html4strict">
<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>
</source>