title: Issues running JScript or VBScript files with UTF-8 encoding thru Windows Script Host
body: <p>I'm not sure if I'm doing something wrong, but I can't seem to run the following JScript through the <code>Windows Script Host</code> if I save it in a <code>.js</code> file with the <code>UTF-8</code> encoding:</p>
  
  <pre><code>var name = "Hello world!";
  WScript.echo(name);
  </code></pre>
  
  <p>When I run it, it gives me this error:</p>
  
  <p><img src="https://i.stack.imgur.com/xexOt.jpg" alt="enter image description here"></p>
  
  <p>Note that the script runs fine if I save it with <code>ANSI</code> encoding.</p>
  
  <p>Is <code>Windows Script Host</code> engine not compatible with the <code>UTF-8</code> encoding?</p>