Skip to content

Windows PowerShell Output Encoding Bug #20968

Description

@ishaanxgupta

What happened?

Resolve terminal encoding bugs in the Windows ecosystem by explicitly configuring PowerShell child processes to output stdout and stderr in UTF-8 format.

What did you expect to happen?

By standardizing PowerShell's output to UTF-8, we can ensure reliable and consistent handling of text, particularly for non-ASCII characters, improving the overall stability and internationalization support of the application. This prevents Node.js from misinterpreting characters due to PowerShell's default output encoding.

Client information

on Windows

Login information

No response

Anything else we need to know?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/coreIssues related to User Interface, OS Support, Core Functionalityeffort/large3+ days: platform-specific, architecture, memory leakshelp wantedWe will accept PRs from all issues marked as "help wanted". Thanks for your support!kind/bugpriority/p2Important but can be addressed in a future release.status/bot-triagedtype/bug

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions