I\'ve got this very simple thing that just outputs some stuff in CSV format, but it\'s got to be UTF-8. I open this file in TextEdit or TextMate or Dreamweaver and it displa
#output a UTF-8 CSV in PHP that Excel will read properly.
//Use tab as field separator $sep = "\t"; $eol = "\n"; $fputcsv = count($headings) ? '"'. implode('"'.$sep.'"', $headings).'"'.$eol : '';