Przeglądaj źródła

Added BOM to CSV export files

Norbert Orzechowicz 12 lat temu
rodzic
commit
0ba9efeba3
1 zmienionych plików z 1 dodań i 1 usunięć
  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: