I have tried EVERYTHING and asked the question on 3 different php forums but nobody could come up with a solution. I'm desperate !

I have a FTP on a dedicated server where my users uploads mp3 in zip files. I use a php page to display the list of the filenames inside the archive.

Problem is that when some of the mp3 filenames have accents (like ) then it is not displayed correctly even if the page is set to use UTF8.

for exemple, "" will become " "
"" will become " "
"" will become " "

header('Content-Type: text/html; charset=utf-8');

setlocale(LC_ALL, 'fr_FR');

echo "
<meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\" />

$downloadlink = "dl/pp/86 Crew - 2000 - Bad Bad Reggae.zip";
$za = new ZipArchive();
for( $i = 0; $i < $za->numFiles; $i++ ){
$stat = $za->statIndex( $i );
$tounes = array( basename( $stat['name'] ) . PHP_EOL );
foreach($tounes as $toune) {
echo "$toune <br>";

echo "</body></html>";