Re: xkcd: ‮LTR

From: Behnam Esfahbod ZWNJ <behnam_at_zwnj.org>
Date: Tue, 27 Nov 2012 04:19:10 -0500

Simon,

There's no sign of HTML5 on that page. The head of the file matches all
XHTML 1.1 requirements and passes all checks on validator.w3.org. Now, why
would Firefox follow anything from HTML5 spec here?

-Behnam

On Tue, Nov 27, 2012 at 3:37 AM, Simon Montagu <smontagu_at_smontagu.org>wrote:

> On 11/26/2012 08:42 PM, Marc Durdin wrote:
>
>> Somewhat ironically, both Firefox and Internet Explorer, on my machine
>> at least, detect this page is encoded with ISO-8859-1 and cp-1252
>> respectively, instead of UTF-8. It seems they both ignore the XML
>> prolog which is the only place where the encoding is stated.
>>
>
> Firefox follows the HTML5 spec and ignores the XML prolog, since the
> Content-type is "text/html".
>
>

-- 
Behnam Esfahbod | بهنام اسفهبد
http://behnam.es/
http://zwnj.behnam.es/
GPG Fingerprint: 3E7F B4B6 6F4C A8AB 9BB9 7520 5701 CA40 259E 0F8B
Received on Tue Nov 27 2012 - 03:24:17 CST

This archive was generated by hypermail 2.2.0 : Tue Nov 27 2012 - 03:24:18 CST