Skip to content

util: expose the WHATWG Encoding API globally

This PR makes util.TextEncoder and util.TextDecoder available on the global object.

Currently, this is work-in-progress, but I am looking for feedback.

See: https://github.com/nodejs/node/issues/20365

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading