Re: [whatwg/encoding] Add a BOM sniffing hook for better integration with HTML (#203)

andreubotella commented on this pull request.



>  
+<p class=note>This hook is a workaround for the fact that <a>decode</a> has no way to communicate
+back to the caller that it has found a byte order mark and is therefore not using the provided
+encoding. The hook is to be invoked before <a>decode</a>, and it will return an encoding
+corresponding to the byte order mark found, or null otherwise.

There are two newlines here in the original, but elsewhere in the spec there are three newlines before an `<h2>`.

-- 
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/pull/203#discussion_r395050861

Received on Thursday, 19 March 2020 14:07:14 UTC