title: C# Write to file using StreamWriter with ANSI encoding doesn't work
body: <p>I want to write to text file with ANSI encoding. Code looks like below: </p>
  
  <pre><code>string text = "abc123";
  string filePath = "C:\\Data\\MyFile.csv";
  
  using (StreamWriter sw = new StreamWriter(File.Open(filePath, FileMode.OpenOrCreate), Encoding.Default))
  {
      sw.Write(text);
  }
  </code></pre>
  
  <p>When I open result file with Notepad++ and click on 'Encoding' button on menu then there is always 'UTF-8 (without BOM)' which I want to avoid. 
  I tried to choose option 'convert to ANSI', but after save of file and reopen it's still 'UTF-8. </p>
  
  <p>I am stuck with this issue for long time, could anyone give some hint ? </p>