CSV Writer with UTF-8 and null enclosures
Simplified
$csv = new CSVwriter('filename.csv');
$csv->save( array( array('Monday', 'Tuesday', 'Wednesday'), array('Thursday','Friday') ) );
Advanced
$csv = new CSVwriter('filename.csv');
$csv->save( array( array('Monday', 'Tuesday', 'Wednesday'), array('Thursday','Friday') ) );
$csv->setUseBOM( TRUE );
$csv->setDelimiter( ',' );
$csv->setEnclosure( '' );