setUseBOM(true); // there are UTF-8 chars on spreadsheet $downloader = new Downloader($writer, 'Simple_download.csv'); $downloader->download();