Kirk Ouimet
Kirk Ouimet

Reputation: 28374

Mult-byte chars get displayed with single-byte encoding

Here's my code:

console.log('\u00A9');

My console output (from node.js) is:

©

How do I get rid of that  character?

enter image description here

Upvotes: 0

Views: 68

Answers (1)

Álvaro González
Álvaro González

Reputation: 146530

In PuTTY configuration, please have a look at Window→Translation. You probably have the default value at "Character set translation on received data", which is ISO-8859-1 or a similar single-byte encoding. You need to change it to UTF-8.

Upvotes: 1

Related Questions