Change exporter to use utf-8 close #282

This commit is contained in:
Nabeel Shahzad
2019-07-17 13:36:16 -04:00
parent 0225a84a81
commit 9475a737f0
3 changed files with 93 additions and 47 deletions

View File

@@ -29,7 +29,7 @@ class ExportService extends Service
public function openCsv($path): Writer
{
$writer = Writer::createFromPath($path, 'w+');
CharsetConverter::addTo($writer, 'utf-8', 'iso-8859-15');
CharsetConverter::addTo($writer, 'utf-8', 'utf-8');
return $writer;
}