Преглед на файлове

Added BOM to CSV export files

Norbert Orzechowicz преди 12 години
родител
ревизия
0ba9efeba3
променени са 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: