Marak / say.js

TTS (text to speech) for node.js. send text from node.js to your speakers.
MIT License
1.48k stars 214 forks source link

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

Closed zld150 closed 1 year ago

zld150 commented 1 year ago
    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 https://github.com/Marak/say.js/issues/120#issuecomment-1140251293

Thanks!!!