You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
8 years ago
..
_toc.md
doc: add documentation on ICU
8 years ago
addons.md
doc: move module-specific "globals" to modules.md
8 years ago
all.md
doc: add documentation on ICU
8 years ago
assert.md
doc,assert: document stackStartFunction in fail
8 years ago
async_hooks.md
doc: fix link in async_hooks.md
8 years ago
buffer.md
util: implement WHATWG Encoding Standard API
8 years ago
child_process.md
doc, lib, test: do not re-require needlessly
8 years ago
cli.md
src: whitelist v8 options with '_' or '-'
8 years ago
cluster.md
2017-07-19, Version 8.2.0 (Current)
8 years ago
console.md
doc, util, console: clarify ambiguous docs
8 years ago
crypto.md
doc: fix padding mode of crypto.publicDecrypt
8 years ago
debugger.md
doc: match debugger output & instructions to master behavior
8 years ago
deprecations.md
doc: fix api docs style
8 years ago
dgram.md
2017-05-30, Version 8.0.0 (Current)
8 years ago
dns.md
doc: fix some links
8 years ago
documentation.md
doc: update experimental status to reflect use
8 years ago
domain.md
2017-05-30, Version 8.0.0 (Current)
8 years ago
errors.md
errors: migrate dns to use internal/errors
8 years ago
events.md
doc: make the style of notes consistent
8 years ago
fs.md
docs: add note about fs.rmdir()
8 years ago
globals.md
doc: move module-specific "globals" to modules.md
8 years ago
http.md
doc: fix mistake in http.md
8 years ago
https.md
https: make opts optional & immutable when create
8 years ago
index.md
doc: git mv to .md
9 years ago
inspector.md
doc: fix some broken references
8 years ago
intl.md
doc: add documentation on ICU
8 years ago
modules.md
doc: move module-specific "globals" to modules.md
8 years ago
n-api.md
doc: fix some links
8 years ago
net.md
doc: fix indentation issues in sample code
8 years ago
os.md
tools: update: eslint-plugin-markdown@1.0.0-beta.7
8 years ago
path.md
doc: fix mistake in path.relative
8 years ago
process.md
doc: update umask for clarity
8 years ago
punycode.md
doc: sort bottom-of-file markdown links
8 years ago
querystring.md
tools: update: eslint-plugin-markdown@1.0.0-beta.7
8 years ago
readline.md
doc: add readline.emitKeypressEvents note
8 years ago
repl.md
doc: add notice about useGlobal option in repl docs
8 years ago
stream.md
doc: fix typo in stream.md
8 years ago
string_decoder.md
doc: use destructuring in code examples
8 years ago
synopsis.md
cmd: support dash as stdin alias
8 years ago
timers.md
timers: add promisify support
8 years ago
tls.md
doc: fix minor issues reported in #9538
8 years ago
tracing.md
src: Node Tracing Controller
8 years ago
tty.md
doc: note 'resize' event conditions on Windows
8 years ago
url.md
doc: fix indentation issues in sample code
8 years ago
util.md
util: implement WHATWG Encoding Standard API
8 years ago
v8.md
doc: fix some links
8 years ago
vm.md
doc: fix minor issues reported in #9538
8 years ago
zlib.md
doc: fix minor issues reported in #9538
8 years ago