I have a hungarian statement that I would like to log to the console like this:
console.log(\'Probléma a működésben.\');
But it prints the
I found out that if you set the proper charset in a tag in the it will work: