title: JavaScript: how to Download CSV file containing French text with UTF-8 encoding
body: <p>I am trying to download CVS file using JavaScript. That CSV contains text in French language.
  I am creating file using blob</p>
  
  <pre><code>    var blob = new Blob([ csv ], {
                  type : 'text/csv;charset=utf-8'
              });
      var csvUrl = window.URL.createObjectURL(blob);
  </code></pre>
  
  <p>But when i open the csv file it shows the content in ANSII format due to which French characters are converted to some unknown characters.</p>
  
  <p>But if i open the same file as text, the encoding is ok (UTF-8).</p>
  
  <pre><code>Example: Text I am trying to download "Opération"
  Text Visible in Excel (.csv) ==&gt; OpÃ©ration   &lt;== With unknown characters
  Text if opened in Notpad++ ==&gt; Opération   &lt;== Correct UTF-8
  </code></pre>
  
  <p>How can i open Download CSV file directly with UTF-8 encoding?
  I don't want user to change anything in excel. I want some javascript format so that excel could recognize all my characters irrespective of its encoding. Is it possible to do something? </p>