Special character issue in Excel file reading/writing in Laravel

By | August 29, 2018

Read the data from mysql table and it is inserting into the excel sheet and generating excel file shows the junk/ascii characters.

Solution:This issue will happen if the page contains any buffer statement. or print_r,echo pre commands
Please remove all those codes before geneerating the excel.