[whatwg] Encoding Sniffing

Julian Reschke julian.reschke at gmx.de
Mon Apr 23 01:34:13 PDT 2012

On 2012-04-23 10:19, Henri Sivonen wrote:
> ...
>   * The Universal detector is used regardless of UI setting or locale
> when using the FileReader to read a local file as text. (I'm
> personally very unhappy about this sort of use of heuristics in a new
> feature.)
 > ...


> ...
> WebVTT is a new format with no legacy. Instead of letting it become
> infected with heuristic detection, we should go the other direction
> and hardwire it as UTF-8 like we did with app cache manifests and
> JSON-in-XHR.  No one should be creating new content in encodings other
> than UTF-8. Those who can't be bothered to use The Encoding deserve
> REPLACEMENT CHARACTERs. Heuristic detection is for unlabeled legacy
> content.
> ...


More information about the whatwg mailing list