-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
fs: writing utf8 to fd 1 results in garbled output on windows #24550
Copy link
Copy link
Closed
Labels
fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.known limitationIssues that are identified as known limitations.Issues that are identified as known limitations.libuvIssues and PRs related to the libuv dependency or the uv binding.Issues and PRs related to the libuv dependency or the uv binding.ttyIssues and PRs related to the tty subsystem.Issues and PRs related to the tty subsystem.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
Activity
Metadata
Metadata
Assignees
Labels
fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.known limitationIssues that are identified as known limitations.Issues that are identified as known limitations.libuvIssues and PRs related to the libuv dependency or the uv binding.Issues and PRs related to the libuv dependency or the uv binding.ttyIssues and PRs related to the tty subsystem.Issues and PRs related to the tty subsystem.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
The following snipped works fine on Linux and Mac OS X, but not on Windows:
Note that using
process.stdout.writeis actually working as expected.