title: JSON to EXCEL turkish character issue
body: <p>I got JSON data from MySQL. Its look good with turkish characters. But when I try to export that JSON to excel as csv, turkish characters are changed.</p>
  
  <p>I am trying to export with this;
  <a href="http://jsfiddle.net/JXrwM/11407/" rel="nofollow noreferrer">http://jsfiddle.net/JXrwM/11407/</a></p>
  
  <pre><code>function JSONToCSVConvertor(JSONData, ReportTitle, ShowLabel) {
      var arrData = typeof JSONData != 'object' ? JSON.parse(JSONData) : JSONData;
  
  
      var CSV = 'sep=,' + '\r\n\n';
  
      if (ShowLabel) {
          var row = "";
  
          for (var index in arrData[0]) {
  
              row += index + ',';
          }
  
          row = row.slice(0, -1);
  
          CSV += row + '\r\n';
      }
  
      for (var i = 0; i &lt; arrData.length; i++) {
          var row = "";
  
          for (var index in arrData[i]) {
              row += '"' + arrData[i][index] + '",';
          }
  
          row.slice(0, row.length - 1);
  
          CSV += row + '\r\n';
      }
  
      if (CSV == '') {        
          alert("Invalid data");
          return;
      }   
  
      var fileName = "MyReport_";
      fileName += ReportTitle.replace(/ /g,"_");   
  
      var uri = 'data:text/html;charset=ISO-8859-9,' + escape(CSV);
  
  
      var link = document.createElement("a");    
      link.href = uri;
  
      link.style = "visibility:hidden";
      link.download = fileName + ".csv";
  
      document.body.appendChild(link);
      link.click();
      document.body.removeChild(link);
  }
  </code></pre>