title: Getting "ï»¿" at the beginning of my XML File after save()
body: <p>I'm opening an existing XML file with C#, and I replace some nodes in there. All works fine. Just after I save it, I get the following characters at the beginning of the file:</p>
  
  <pre><code>ï»¿  (EF BB BF in HEX)
  </code></pre>
  
  <p>The whole first line:</p>
  
  <pre><code> ï»¿&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  </code></pre>
  
  <p>The rest of the file looks like a normal XML file.
  The simplified code is here:</p>
  
  <pre><code>XmlDocument doc = new XmlDocument();
  doc.Load(xmlSourceFile);
  XmlNode translation = doc.SelectSingleNode("//trans-unit[@id='127']");
  translation.InnerText = "testing";
  doc.Save(xmlTranslatedFile);
  </code></pre>
  
  <p>I'm using a C# <a href="http://en.wikipedia.org/wiki/Windows_Forms" rel="noreferrer">Windows Forms</a> application with .NET 4.0.</p>
  
  <p>Any ideas? Why would it do that? Can we disable that somehow? It's for Adobe InCopy, and it does not open it like this.</p>
  
  <p><strong>UPDATE</strong>:
  Alternative Solution:</p>
  
  <p>Saving it with the XmlTextWriter works too:</p>
  
  <pre><code>XmlTextWriter writer = new XmlTextWriter(inCopyFilename, null);
  doc.Save(writer);
  </code></pre>