Skip to content

Conversation

@liuxingbaoyu
Copy link

What's the problem this PR addresses?

The default encoding in Windows is not UTF-8, which causes an error when the path in Node.js contains Unicode characters.

Resolves #4448
Resolves #5319

How did you fix it?

I added chcp in cmd to set the encoding.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug?]: Cannot spawn yarn if there're non-ASCII characters in path [Bug?]: UTF-8 characters in path makes it impossible to use yarn on windows

1 participant