Re: [whatwg/encoding] Amount of bytes to sniff for encoding detection (#102)

> Earlier in the sentence you said you wouldn't feed things into the parser so this wouldn't apply, right?

That's correct - there won't be reparsing. Feeding will be delayed till encoding gets detected.

> Also looking through the code of the CED detector it doesn't seem aligned with the Encoding Standard at all.

CED can be (and is) configured to conform to the standard (HTML5 mode).

Users have to switch encoding via menu or plugin manually when viewing legacy web pages without encoding label. Many of them have no idea what the concept of encoding, how to get the page right, or which encoding to choose. CED tries to address that by making the best guess for those pages. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/issues/102#issuecomment-302974129

Received on Monday, 22 May 2017 00:33:20 UTC