title: Javascript save binary data to file with ANSI encoding
body: <p>I am trying to save a binary string to file using <a href="https://github.com/eligrey/FileSaver.js">Filesaver.js</a>. I am specifying the charset as ANSI but the file has the UTF-8 encoding.</p>
  
  <pre><code>var blob = new Blob([bin], {type: "octet/stream;charset=ANSI"});
  saveAs(blob, "binfile.dat");
  </code></pre>
  
  <p>Is there a way to save the file as ANSI?</p>