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
I'm on Mac, in my case I just had to specify the separator with "sep=;\n" and encode the file in UTF-16LE like this:
"sep=;\n"
$data = "sep=;\n" .mb_convert_encoding($data, 'UTF-16LE', 'UTF-8');