SpartnerNL / Laravel-Excel

🚀 Supercharged Excel exports and imports in Laravel
https://laravel-excel.com
MIT License
12.28k stars 1.92k forks source link

Exported xls file get some symbol on content #1539

Closed adispartadev closed 6 years ago

adispartadev commented 6 years ago

Hi, I just want to export some data to excel format but it return excel file with symbol in the content.

\Excel::create('Filename', function($excel) {

            $excel->sheet('Sheetname', function($sheet) {

                $sheet->fromArray(array(
                    array('data1', 'data2'),
                    array('data3', 'data4')
                ));

            });

        })->download('xls');

I use your example code and I got something like this

screenshot from 2018-02-26 10-55-14

I use laravel 5.3

patrickbrouwers commented 6 years ago

See https://github.com/Maatwebsite/Laravel-Excel/issues/878#issuecomment-238012066

palanideveloper commented 6 years ago

I have a same issue. The solution is not worked for me. Kindly help me

Talleyrane commented 9 months ago

I'm on this now and is driving me crazy!!!