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 <rtrott@gmail.com>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
Tobias Nießen authored and Beth Griggs committed 2022-05-16 11:12:11 +01:00
1 parent 0957212390
commit 330e267a57
1 file changed
+1 -1
+1 -1
View File
@@ -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: