title: Write Chinese chars to a text file using vbscript
body: <p>I'm trying to write some Chinese characters to a text file using</p>
  
  <pre><code>Set myFSO = CreateObject("Scripting.FileSystemObject")
  Set outputFile = myFSO.OpenTextFile(getOutputName(Argument, getMsiFileName(Wscript.Arguments)), forWriting, True)
  outputFile.WriteLine(s) 
  </code></pre>
  
  <p>The variable <code>s</code> contains a Chinese character that I read from the other file. I echo <code>s</code> value and I can see the s correctly in the screen. However, for some reason the script stops running after <code>outputFile.WriteLine(s)</code> without returning any error message.</p>
  
  <p>Am I missing something?</p>