title: VBA : save a file with UTF-8 without BOM
body: <p>it's probably sthg simple, here is what I tried :</p>
  
  <pre><code> Set objStream = CreateObject("ADODB.Stream")
   Set objStreamNoBOM = CreateObject("ADODB.Stream")
  
   With objStream
          .Open
          .Charset = "UTF-8"
          .WriteText "aaaaaa"
          .Position = 0
      End With
  
      With objStreamNoBOM
        '.Charset = "Windows-1252"   ' WORK
         .Charset = "UTF-8"          ' DOESN'T WORK!!
         .Open
         .Type = 2
         .WriteText objStream.ReadText
         .SaveToFile "toto.php", 2
         .Close
      End With
      objStream.Close
  </code></pre>
  
  <p>if the charset is UTF-8, then there is ï» at the beginning of the file.</p>
  
  <p>Any idea on how to save a file with UTF-8 and without BOM?</p>