Files
node/lib
James M Snell 9a3fc10dd4 util: implement WHATWG Encoding Standard API
Provide an (initially experimental) implementation of the WHATWG Encoding
Standard API (`TextDecoder` and `TextEncoder`). The is the same API
implemented on the browser side.

By default, with small-icu, only the UTF-8, UTF-16le and UTF-16be decoders
are supported. With full-icu enabled, every encoding other than iso-8859-16
is supported.

This provides a basic test, but does not include the full web platform
tests. Note: many of the web platform tests for this would fail by default
because we ship with small-icu by default.

A process warning will be emitted on first use to indicate that the
API is still experimental. No runtime flag is required to use the
feature.

Backport-PR-URL: https://github.com/nodejs/node/pull/14585
Backport-Reviewed-By: Anna Henningsen <anna@addaleax.net>

Refs: https://encoding.spec.whatwg.org/
PR-URL: https://github.com/nodejs/node/pull/13644
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2017-08-02 11:52:23 +02:00
..
2017-07-19 15:02:18 -04:00
2017-07-19 15:02:18 -04:00
2017-08-01 20:26:50 +02:00
2017-07-19 15:03:01 -04:00
2017-07-19 15:02:21 -04:00
2017-07-19 15:02:18 -04:00
2017-08-01 18:44:41 +02:00
2017-08-01 18:45:11 +02:00
2016-10-04 12:17:32 -04:00
2017-03-10 11:23:48 -08:00
2017-07-19 15:02:18 -04:00
2017-07-19 15:02:18 -04:00
2017-07-18 19:57:20 +02:00
2017-07-19 15:03:01 -04:00
2017-03-10 11:23:48 -08:00