Possible Duplicate:
Encoding a string as UTF-8 with BOM in PHP
i can export csv file from php with this code
header('Content-Type: text/csv; charset=utf-8');
header('Content-Disposition: attachment; filename=data.csv');
$output = fopen('php://output', 'w');
but this code create file with charset utf-8 without BOM
but i need charset utf-8
.
is way for this problem?