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

On Windows you need to change the terminal encoding to UTF8. #131

Closed
zld150 opened this issue Jan 13, 2023 · 0 comments
Closed

On Windows you need to change the terminal encoding to UTF8. #131

zld150 opened this issue Jan 13, 2023 · 0 comments

Comments

@zld150
Copy link

zld150 commented Jan 13, 2023

    On `Windows` you need to change the terminal encoding to UTF8.
  1. Run chcp on the terminal to see the current encoding.
  2. Run chcp 65001 to change the encoding to UTF8.
    Then re-execute the JS file.

Example:
chcp 65001 && node demo.js

Originally posted by @Kayakyx in #120 (comment)

Thanks!!!

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

No branches or pull requests

1 participant