whatwg-encoding
whatwg-encoding copied to clipboard
Decode strings according to the WHATWG Encoding Standard
I got stuck on https://github.com/nodejs/node/issues/40091 making it hard to write tests for the error case, so I'm abandoning this for now, but uploading it as reference. From some brief testing...
This PR has for vocation to address jsdom/jsdom#2524 by complementing this package as suggested in jsdom/jsdom#2928. This PR transforms the repo to adopt a structure similar to `whatwg-url`.
There are some modules which provide support for encodings not implemented by iconv-lite. Do we want to use them as well in order to cover more of the required encodings?...