Skip to content

Commit

Permalink
doc: use serial comma in buffer docs
Browse files Browse the repository at this point in the history
Refs: #11321
Refs: #17384

PR-URL: #43048
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Akhil Marsonya <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
  • Loading branch information
tniessen authored and danielleadams committed Jun 27, 2022
1 parent 17eb376 commit c54bec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,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:

Expand Down

0 comments on commit c54bec3

Please sign in to comment.