title: How to correct special chars when exporting html table to Excel
body: <p>I have only a HTML page and need to export a table as Excel document. There is no back-end. Must achieve this only with Javascript.</p>
  
  <p>I am doing export process with this line of js;</p>
  
  <pre><code>window.open('data:application/vnd.ms-excel,' + encodeURIComponent($('#excelContainer').html()));
  </code></pre>
  
  <p>And HTML page has this meta tag;</p>
  
  <pre><code>&lt;meta http-equiv="content-type" content="text/html; charset=UTF-8" /&gt;
  </code></pre>
  
  <p>But my table contains some Turkish special chars and Excel doesn't show them correctly.</p>
  
  <p>I've done a research but all solutions works from back-end so need a little help.</p>
  
  <p>Thanks!</p>