Re: [whatwg/encoding] Reorganize hooks for standards (#237)

@andreubotella commented on this pull request.

LGTM

>  
  <p>For decoding, <a>UTF-8 decode</a> is to be used by new formats. For identifiers or byte
  sequences within a format or protocol, use <a>UTF-8 decode without BOM</a> or
  <a>UTF-8 decode without BOM or fail</a>.
 
  <p>For encoding, <a>UTF-8 encode</a> is to be used.
 
- <p>Standards are strongly discouraged from using <a>decode</a>, <a for=/>encode</a>, and
- <a>BOM sniff</a>, except as needed for compatibility.

Maybe keep this paragraph in the note for legacy hooks.

-- 
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/237#pullrequestreview-513888955

Received on Wednesday, 21 October 2020 16:27:28 UTC