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
Converting already utf-8 encoded text by using mb_convert_encoding is not needed. Just add three characters in front of the original content:
mb_convert_encoding
$newContent = chr(239) . chr(187) . chr(191) . $originalContent
For me this resolved the problem of special characters in csv files.