Closed
Description
Im trying to import a csv with a column with this content
Wetherill Street Upgrade – Fairfield City Council
when I try to import it it comes back as null, I have check the coding of the file and comes back as 'ASCII' so I have added that on the excel.php config file but it still been set as null, since Im injecting the object I tried doing :
$import->setInputEncoding('ASCII');
$newData = $import->get()->toArray();
Again without any success.
I also tried doing :
class ProjectListImport extends ExcelFile {
protected $encoding = 'ASCII';
...
but nothing..
Am I doing anything wrong?
If i open the csv on a text editor an saved it as utf-8 then everything works.. unfortunately the client wont be able to do that...
Cheers
Metadata
Assignees
Labels
No labels