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

[whatwg] Encoding Sniffing

From: Julian Reschke <julian.reschke@gmx.de>
Date: Mon, 23 Apr 2012 10:34:13 +0200
Message-ID: <4F951405.5010902@gmx.de>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT