W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2012

[whatwg] Encoding Sniffing

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Sun, 22 Apr 2012 09:11:50 +1000
Message-ID: <CAHp8n2kmFdjMTgJ+yPCA37RMKvufNkZ4-uL5c=ULqsPFSBwaEw@mail.gmail.com>
On Sat, Apr 21, 2012 at 8:21 PM, Anne van Kesteren <annevk at opera.com> wrote:
> Hey,
> This morning I looked into what it would take to define Encoding Sniffing.
> http://wiki.whatwg.org/wiki/Encoding#Sniffing has links as to what I looked
> at (minus Opera internal). As far as I can tell Gecko has the most
> comprehensive approach and should not be too hard to define (though writing
> it all out correctly and clear will be some work).
> I have some questions though:
> 1) Is this something we want to define and eventually implement the same
> way?
> 2) Does this need to apply outside HTML? For JavaScript it forbidden per the
> HTML standard at the moment. CSS and XML do not allow it either. Is it used
> for decoding text/plain at the moment?

We've had some discussion on the usefulness of this in WebVTT - mostly
just in relation with HTML, though I am sure that stand-alone video
players that decode WebVTT would find it useful, too.


> 3) Is there a limit to how many bytes we should look at?
> Thanks,
> --
> Anne van Kesteren
> http://annevankesteren.nl/
Received on Saturday, 21 April 2012 16:11:50 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:41 UTC