This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The spec contains the following sentence: "If label is an ASCII case-insensitive match for any of the labels listed in the table below, return the corresponding encoding, or return failure otherwise." In the last clause, the "or" does not match "otherwise", which may lead to confusion. Please reword as: "If label is an ASCII case-insensitive match for any of the labels listed in the table below, return the corresponding encoding. Otherwise, return failure."
How about "and return failure otherwise"?
(In reply to comment #1) > How about "and return failure otherwise"? Works for me.
https://github.com/whatwg/encoding/commit/8001dcbb05560a3591f5cc0fc51bbfc1928c0421