node/doc/api
Deokjin Kim a5fd53f8ef
doc: pass string to textEncoder.encode as input
Input of `textEncoder.encode` should be string, not array.

Refs: https://nodejs.org/dist/latest-v19.x/docs/api/util.html#textencoderencodeinput
PR-URL: https://github.com/nodejs/node/pull/46421
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2023-01-30 17:32:35 +00:00
..
addons.md doc: use "file system" instead of "filesystem" 2023-01-14 01:10:38 +00:00
assert.md tools: add prefer-proto rule 2023-01-10 05:38:36 +00:00
async_context.md 2023-01-05, Version 18.13.0 'Hydrogen' (LTS) 2023-01-05 19:57:23 -05:00
async_hooks.md doc: add async_hooks migration note 2022-11-21 00:29:51 +00:00
buffer.md buffer: add isAscii method 2023-01-20 03:24:40 +00:00
child_process.md doc: abort controller emits error in child process 2023-01-07 08:01:47 +00:00
cli.md src: add support for ETW stack walking 2023-01-24 19:16:04 +00:00
cluster.md doc: use os.availableParallelism() in async_context and cluster 2022-12-28 11:45:10 +00:00
console.md doc: use serial comma in console docs 2022-05-31 14:57:50 +01:00
corepack.md doc: mention corepack prepare supports tag or range 2022-10-10 02:47:39 +02:00
crypto.md doc: remove last example use of require('crypto').webcrypto 2022-12-13 19:12:02 +01:00
debugger.md doc: add missing line in debugger 2022-11-30 02:36:20 +00:00
deprecations.md 2023-01-05, Version 18.13.0 'Hydrogen' (LTS) 2023-01-05 19:57:23 -05:00
dgram.md 2022-12-13, Version 16.19.0 'Gallium' (LTS) 2022-12-13 08:01:09 -05:00
diagnostics_channel.md 2023-01-05, Version 18.13.0 'Hydrogen' (LTS) 2023-01-05 19:57:23 -05:00
dns.md doc: update to match changed --dns-result-order default 2023-01-17 00:56:07 +01:00
documentation.md doc: add experimental stages 2023-01-14 14:25:08 +00:00
domain.md doc: add node: prefix for all core modules 2022-04-20 10:23:41 +02:00
embedding.md src: add detailed embedder process initialization API 2022-08-05 19:46:08 +00:00
errors.md doc: fix ERR_TLS_RENEGOTIATION_DISABLED text 2023-01-07 23:53:25 +00:00
esm.md esm: allow resolve to return import assertions 2023-01-12 01:57:45 +00:00
events.md 2023-01-24, Version 19.5.0 (Current) 2023-01-24 18:16:02 -03:00
fs.md fs: add statfs() functions 2023-01-29 17:43:20 +00:00
globals.md doc: add history section to fetch-related globals 2022-10-29 12:49:52 +00:00
http2.md doc: use console.error for error case in http2 2022-11-23 06:34:37 +00:00
http.md 2023-01-24, Version 19.5.0 (Current) 2023-01-24 18:16:02 -03:00
https.md doc: https update default request timeout 2023-01-13 08:32:19 +00:00
index.md doc: move policy docs to the permissions scope 2022-09-05 16:07:45 +00:00
inspector.md doc: add tip for session.post function 2023-01-29 03:32:23 +00:00
intl.md doc: fix icu-small example 2022-06-30 09:34:10 -04:00
module.md lib: codify findSourceMap return value when not found 2022-08-27 23:13:53 +00:00
modules.md doc: use "file system" instead of "filesystem" 2023-01-14 01:10:38 +00:00
n-api.md doc: add Node-API media link 2023-01-15 21:08:45 +00:00
net.md doc: add documentation for socket.destroySoon() 2023-01-28 06:00:45 +00:00
os.md 2023-01-06, Version 19.4.0 (Current) 2023-01-06 09:57:24 -03:00
packages.md doc: fix typos in packages.md 2022-12-24 21:04:19 +01:00
path.md doc: add lint rule to enforce trailing commas 2022-11-17 13:19:12 +00:00
perf_hooks.md doc: add PerformanceObserver.supportedEntryTypes to doc 2023-01-11 19:58:41 +00:00
permissions.md doc: move policy docs to the permissions scope 2022-09-05 16:07:45 +00:00
policy.md doc: move policy docs to the permissions scope 2022-09-05 16:07:45 +00:00
process.md src,lib: add constrainedMemory API for process 2023-01-25 00:47:08 +00:00
punycode.md doc: format doc/api/*.md with markdown formatter 2021-10-20 11:59:11 +02:00
querystring.md doc: remove Legacy status from querystring 2022-10-09 15:22:50 +00:00
readline.md doc: add lint rule to enforce trailing commas 2022-11-17 13:19:12 +00:00
repl.md doc: update error message of example in repl 2022-12-24 20:09:54 +00:00
report.md doc: use "file system" instead of "filesystem" 2023-01-14 01:10:38 +00:00
stream.md doc: duplex and readable from uncaught execption warning 2023-01-11 08:16:27 +00:00
string_decoder.md doc: add node: prefix for all core modules 2022-04-20 10:23:41 +02:00
synopsis.md doc: use ASCII apostrophes consistently 2022-05-17 20:04:51 +01:00
test.md doc,lib,src,test: rename --test-coverage 2023-01-08 16:10:00 -05:00
timers.md doc: use console.error for error case in timers and tls 2023-01-01 06:41:28 +00:00
tls.md doc: add note to tls docs about secureContext availability 2023-01-18 01:53:41 +00:00
tracing.md src: trace threadpool event 2022-11-01 04:21:13 +00:00
tty.md doc: add node: prefix for all core modules 2022-04-20 10:23:41 +02:00
url.md 2023-01-05, Version 18.13.0 'Hydrogen' (LTS) 2023-01-05 19:57:23 -05:00
util.md 2023-01-05, Version 18.13.0 'Hydrogen' (LTS) 2023-01-05 19:57:23 -05:00
v8.md doc: add tip for session.post function 2023-01-29 03:32:23 +00:00
vm.md vm: expose cachedDataRejected for vm.compileFunction 2023-01-25 20:06:55 +00:00
wasi.md doc: add lint rule to enforce trailing commas 2022-11-17 13:19:12 +00:00
webcrypto.md crypto: use WebIDL converters in WebCryptoAPI 2023-01-17 08:57:58 +00:00
webstreams.md doc: pass string to textEncoder.encode as input 2023-01-30 17:32:35 +00:00
worker_threads.md doc: add lint rule to enforce trailing commas 2022-11-17 13:19:12 +00:00
zlib.md doc: add lint rule to enforce trailing commas 2022-11-17 13:19:12 +00:00