Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tty: fix console printing on Windows #18214

Closed
wants to merge 1 commit into from

Conversation

addaleax
Copy link
Member

This broke writing non-ASCII data to the console on Windows because the result would be codepage-dependent.

This partially reverts 8b751f7.

Fixes: #18189
Refs: #18019

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

/cc @vsemozhetbyt

This broke writing non-ASCII data to the console on Windows because
the result would be codepage-dependent.

This partially reverts 8b751f7.

Fixes: nodejs#18189
Refs: nodejs#18019
@nodejs-github-bot nodejs-github-bot added the tty Issues and PRs related to the tty subsystem. label Jan 17, 2018
@addaleax
Copy link
Member Author

@vsemozhetbyt
Copy link
Contributor

#18189 seems to be fixed with this PR for me.

@addaleax addaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 18, 2018
@BridgeAR BridgeAR added the fast-track PRs that do not need to wait for 48 hours to land. label Jan 19, 2018
@BridgeAR
Copy link
Member

Landed in ea7400c

BridgeAR pushed a commit to BridgeAR/node that referenced this pull request Jan 19, 2018
This broke writing non-ASCII data to the console on Windows because
the result would be codepage-dependent.

This partially reverts 8b751f7.

Fixes: nodejs#18189
Refs: nodejs#18019

PR-URL: nodejs#18214
Fixes: nodejs#18189
Refs: nodejs#18019
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@BridgeAR BridgeAR closed this Jan 19, 2018
@MylesBorins
Copy link
Contributor

Setting this as don't land for v9.x as the original didn't land

addaleax added a commit that referenced this pull request Feb 26, 2018
This broke writing non-ASCII data to the console on Windows because
the result would be codepage-dependent.

This partially reverts 8b751f7.

Fixes: #18189
Refs: #18019

PR-URL: #18214
Fixes: #18189
Refs: #18019
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
addaleax added a commit that referenced this pull request Feb 26, 2018
This broke writing non-ASCII data to the console on Windows because
the result would be codepage-dependent.

This partially reverts 8b751f7.

Fixes: #18189
Refs: #18019

PR-URL: #18214
Fixes: #18189
Refs: #18019
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@addaleax addaleax mentioned this pull request Feb 27, 2018
@addaleax addaleax removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 1, 2018
MayaLekova pushed a commit to MayaLekova/node that referenced this pull request May 8, 2018
This broke writing non-ASCII data to the console on Windows because
the result would be codepage-dependent.

This partially reverts 8b751f7.

Fixes: nodejs#18189
Refs: nodejs#18019

PR-URL: nodejs#18214
Fixes: nodejs#18189
Refs: nodejs#18019
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@codebytere codebytere added the baking-for-lts PRs that need to wait before landing in a LTS release. label Aug 2, 2018
@codebytere
Copy link
Member

nb: should be backported with #18019

@addaleax addaleax deleted the windows-tty-fix branch August 3, 2018 21:50
@MylesBorins MylesBorins added land-on-v8.x and removed baking-for-lts PRs that need to wait before landing in a LTS release. labels Aug 17, 2018
@MylesBorins
Copy link
Contributor

Backported along with #18019

MylesBorins pushed a commit that referenced this pull request Aug 17, 2018
This broke writing non-ASCII data to the console on Windows because
the result would be codepage-dependent.

This partially reverts 8b751f7.

Fixes: #18189
Refs: #18019

PR-URL: #18214
Fixes: #18189
Refs: #18019
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fast-track PRs that do not need to wait for 48 hours to land. tty Issues and PRs related to the tty subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

repl: strange behaviour in the last nightlies on Windows
8 participants