[whatwg] Encoding Sniffing

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.)
 > ...

+1

> ...
> 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.
> ...

+1

Received on Monday, 23 April 2012 01:34:13 UTC