Search code examples
unicodefilesystemobject

VBA or Vb Scripting: how to write to a file in Unicode using FileSystemObject


How would you use FileSystemObject to write to a string to a file in Unicode?


Solution

  • The 2nd argument of OpenAsTextStream determines if you want unicode or ascii.