[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Re: progress on dev.10

From: David Woolley
Subject: Re: [Lynx-dev] Re: progress on dev.10
Date: Fri, 12 Sep 2008 23:13:39 +0100
User-agent: Thunderbird (X11/20080707)

David Dorward wrote:

HTTP defaults for ISO-8859-1 for text/* documents which don't specify

But HTML 4 overrides this and says that there is no default, but allows browsers to use heuristics on erroneous documents. A default is, of course, one possible heuristic!

I think the intention is that they should either do a statistical analysis of the text, or assume the most common character set in the country in which they are used.

 However, I see the following

<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
Ah, the wonder that is "http-equiv".

Here is what the spec has to say on the subject:

However, the HTML specification specifically allows this construct for specifying the character set. In HTML4, the real header has precedence. I have a feeling that the HTML5 people have reversed this, not that I am a fan of HTML5 and its specification process.

What it can't do is override the media type, which has to be text/html for this to work at all. I.E. specifying application/xml+xhtml here would be ineffective.

David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]