From 330e267a5717b54d9040cbb442edcfdb6689bf16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 11 May 2022 17:04:56 +0200 Subject: [PATCH] doc: use serial comma in buffer docs Refs: https://github.com/nodejs/node/pull/11321 Refs: https://github.com/nodejs/node/pull/17384 PR-URL: https://github.com/nodejs/node/pull/43048 Reviewed-By: Rich Trott Reviewed-By: Akhil Marsonya Reviewed-By: Darshan Sen --- doc/api/buffer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 1bdc976fd12..8cdf5571c61 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -136,7 +136,7 @@ console.log(Buffer.from('fhqwhgads', 'utf16le')); ``` Node.js buffers accept all case variations of encoding strings that they -receive. For example, UTF-8 can be specified as `'utf8'`, `'UTF8'` or `'uTf8'`. +receive. For example, UTF-8 can be specified as `'utf8'`, `'UTF8'`, or `'uTf8'`. The character encodings currently supported by Node.js are the following: