Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- Date: Mon, 15 Sep 2008 11:51:28 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- References: <48C90DF7.4050300@bebear.net> <87d4ja6x32.fsf@xemacs.org> <48C9B63B.7000805@bebear.net> <87abee6ri8.fsf@xemacs.org> <48C9F1C4.10404@bebear.net> <878wtx7tkq.fsf@xemacs.org> <20080912073930.GA8935@lucky.cynic.net> <8763p17ms6.fsf@xemacs.org> <20080912094652.GD8935@lucky.cynic.net> <873ak27pfe.fsf@xemacs.org>
- User-agent: Mutt/1.5.17 (2007-11-01)
On 2008-09-14 23:49 +0900 (Sun), Stephen J. Turnbull wrote: > Puh-lease. I'm talking about calling the content of the HEAD element > a "header". That's just encapsulation, just like having a TCP header > inside (as part of the content of) an IP packet. That TCP packet > itself might contain another TCP packet or even IP. No? The one very important difference you ignore here is that in the TCP/IP protocol suite, aside from perhaps a few things related to bootstrapping protocols, there are no cases of encapsulated data changing the meaning of data outside the encapsulation, or providing information for layers of encapsulation outside of itself. It doesn't make sense, since encapsulation is no longer a transparent, reversable operation, and causes problems like the ones we're seeing here. > In fact, I don't see how the inner protocol can modify > the interpretation of the outer protocol, since it doesn't know what > that protocol is. Well, that's an issue, but without question META http-equiv tags mess about with the interpretation of the HTTP headers, if present. > By the time the inner protocol gets interpreted, > the outer protocol's meta information is gone. Nope. The browser, when interpreting the HTML, remembers and uses the information (such as the charset) from the headers. > > Is actually *not* an attempt to reset the content type, but is > > specifying (in a terribly unobvious way) the default character > > encoding for the document. > > I don't understand what you mean. It's not an attempt to reset the > content type, nor does it have anything to do with "default" character > sets. Well, sorry, you may say it doesn't, but the spec says it does: The META element may be used to specify the default information for a document in the following instances: * The default scripting language. * The default style sheet language. * The document character encoding. > > Presumably this: > > > > <META http-equiv="Content-Type" content="image/jpeg; charset=ISO-8859-5"> > > > > is also a valid way of doing it; > > No, because image/* content types don't have a charset parameter. Right, but there's no indication in the spec that it should not be interpreted that way. In fact, the spec seems to go out of its way not to say that the above won't work; it requires A META declaration with "http-equiv" set to "Content-Type" and a value set for "charset". cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Mobile sites and software consulting: http://www.starling-software.com
- Follow-Ups:
- Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- From: Stephen J. Turnbull
- References:
- Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- From: Edward Middleton
- Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- From: Stephen J. Turnbull
- Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- From: Edward Middleton
- Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- From: Stephen J. Turnbull
- Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- From: Edward Middleton
- Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- From: Stephen J. Turnbull
- Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- From: Curt Sampson
- Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- From: Stephen J. Turnbull
- Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- From: Curt Sampson
- Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Setting up a RAID 1 with Ubuntu (Was: Hard Drive Failure)
- Next by Date: Re: [tlug] Hard Drive Failure (Was: Help! Total hardware failure)
- Previous by thread: Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- Next by thread: Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links