From 5b2861d8d55552d91b912fe018b86f5c215adce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 11 May 2022 00:09:20 +0000 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 --- 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 d9d78f4004647a..44bff0fd4eeb7d 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: