Files
node/src
James M Snell ed21cb1774 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.

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-07-24 14:04:13 -07:00
..
2017-06-06 11:16:58 -04:00
2017-07-13 18:48:27 -04:00
2017-06-13 11:48:59 -07:00
2016-06-28 21:21:21 +02:00
2017-06-13 11:48:59 -07:00
2017-07-06 08:20:03 +02:00
2017-05-22 16:09:27 -04:00
2017-05-22 16:09:27 -04:00
2017-04-14 22:47:29 +02:00
2016-06-28 21:21:21 +02:00