W3C home > Mailing lists > Public > public-html@w3.org > November 2009

Re: XMLNS in Inkscape and other editors

From: Joe D Williams <joedwil@earthlink.net>
Date: Mon, 23 Nov 2009 11:36:52 -0800
Message-ID: <7B4F9F123B534FF6BDE5897B1DF3DC77@joe1446a4150a8>
To: "Adam Barth" <w3c@adambarth.com>
Cc: "Julian Reschke" <julian.reschke@gmx.de>, "Boris Zbarsky" <bzbarsky@mit.edu>, "Gavin Carothers" <gavin@carothers.name>, "Maciej Stachowiak" <mjs@apple.com>, "HTMLwg" <public-html@w3.org>
> the response is treated as text/plain

We are using an html browser, so when we expect it is utf-8, then why 
not also expect that text/html is being sent?
Especially if file begins with blank text, until unexpected character 
proves differently.
Thanks,
Joe

----- Original Message ----- 
From: "Adam Barth" <w3c@adambarth.com>
To: "Joe D Williams" <joedwil@earthlink.net>
Cc: "Julian Reschke" <julian.reschke@gmx.de>; "Boris Zbarsky" 
<bzbarsky@mit.edu>; "Gavin Carothers" <gavin@carothers.name>; "Maciej 
Stachowiak" <mjs@apple.com>; "HTMLwg" <public-html@w3.org>
Sent: Monday, November 23, 2009 11:05 AM
Subject: Re: XMLNS in Inkscape and other editors


> On Mon, Nov 23, 2009 at 9:46 AM, Joe D Williams 
> <joedwil@earthlink.net> wrote:
>>> You're correct that BOMs are optional when you correctly specify 
>>> the
>>> media type of your content.
>>
>> Sorry if I'm off track or too limited in the definition, but no, I 
>> thought
>> the BOM was optional if you intended to serve utf-8 regardless of 
>> the media
>> type. Independent of anything else, if you get a utf-8 BOM, then 
>> you have
>> utf-8. If you don't get a BOM it is also utf-8 (except for those 
>> media types
>> that would never use utf-8?). Either way, in principle you know you 
>> have
>> utf-8 (except for those media types that would never use utf-8?). .
>
> Indeed, which is why the response is treated as text/plain instead 
> of
> application/octet-stream.
>
> Adam 
Received on Monday, 23 November 2009 19:37:39 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:03 UTC