- From: Nicholas Zakas <nzakas@yahoo-inc.com>
- Date: Tue, 6 Jul 2010 16:54:24 -0700
Hi all, I was just reading through the spec and am having trouble understanding the details of document.charset, document.characterSet, and document.defaultCharset. It seems to me that document.characterSet is simply a read-only equivalent of document.charset (I'm guessing these are both here due to already-existing implementations), which is a little confusing but not terribly so. I'm more interested in document.defaultCharset and how it relates to the others. Some questions: 1) Should document.charset/document.characterSet always start out equivalent to document.defaultCharset? 2) What is the canonical source of truth for document.defaultCharset (is this a system setting, a browser setting, or a document setting)? 3) If document.charset is set to a new value, is there any change reflected in document.defaultCharset? What about vice-versa? Thanks. -Nicholas ______________________________________________ Commander Lock: "Dammit Morpheus, not everyone believes what you believe!" Morpheus: "My beliefs do not require them to." -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100706/959cfa2b/attachment.htm>
Received on Tuesday, 6 July 2010 16:54:24 UTC