0

I'm having problems with the encoding in node.js. I'm running it on windows and for example if I run this simple program:

console.log("trying áéíóú");

I get in the console:

trying ?????

Is this normal? How can I solve this problem?

Thanks

1 Answer 1

3

The problem is that your console is not capable of handling certain characters the way it is currently configured. Check in the settings and see if you can enable different character sets. You probably want to use Unicode.

Sign up to request clarification or add additional context in comments.

1 Comment

and how I configure windows console (cmd) to do so or how can I use unicode?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.