mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Export with utf-8 characters (#1958)
This commit is contained in:
parent
41fe2407be
commit
2f81d2fe0b
@ -100,6 +100,8 @@ abstract class ExportModel extends Model
|
||||
* Prepare CSV
|
||||
*/
|
||||
$csv = CsvWriter::createFromFileObject(new SplTempFileObject);
|
||||
|
||||
$csv->setOutputBOM(AbstractCsv::BOM_UTF8);
|
||||
|
||||
if ($options['delimiter'] !== null) {
|
||||
$csv->setDelimiter($options['delimiter']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user