فهرست منبع

Merge pull request #1192 from norzechowicz/export-bom

Added BOM to CSV export files
Thomas 12 سال پیش
والد
کامیت
8f4cf30f9a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Export/Exporter.php

+ 1 - 1
Export/Exporter.php

@@ -46,7 +46,7 @@ class Exporter
                 $contentType = 'application/json';
                 break;
             case 'csv':
-                $writer      = new CsvWriter('php://output', ',', '"', "", true);
+                $writer      = new CsvWriter('php://output', ',', '"', "", true, true);
                 $contentType = 'text/csv';
                 break;
             default: