-
-
Notifications
You must be signed in to change notification settings - Fork 37.2k
utf16le encoding is missed in the File System API doc for streams #2787
Copy link
Copy link
Closed
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.i18n-apiIssues and PRs related to Node.js internationalization support.Issues and PRs related to Node.js internationalization support.
Description
Activity
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.i18n-apiIssues and PRs related to Node.js internationalization support.Issues and PRs related to Node.js internationalization support.
There is an encoding list in the Buffer API doc: ascii, utf8, utf16le / ucs2, base64, binary, hex.
However the lists in the File System API doc for streams are not complete.
fs.createReadStream:
fs.createWriteStream:
In the both lists the "utf16le / ucs2" encoding is misguidingly missed.