title: How to log unicode characters to the console in JavaScript?
body: <p>I have a Hungarian statement that I would like to log to the console like this:</p>
  <pre class="lang-js prettyprint-override"><code>console.log('Probléma a működésben.');
  </code></pre>
  <p>But it prints the following:</p>
  <pre class="lang-r prettyprint-override"><code>&gt; ProblÃ©ma a mÅ±kÃ¶dÃ©sben.
  </code></pre>
  <p>The non ASCII characters are messed up, but I don't think the reason for this is that the console doesn't support Unicode characters, because if I paste the log straight into the console it produces the proper output.</p>
  <p>I tested it in Opera, Firefox, Chrome. Happens in Win 8.1 and OSX too, so we can say this is general.</p>
  <p>Are there other things that should persist for the proper Unicode console logging, like HTML charset or file encode?</p>