Zend Server et encodage UTF-8 avec readdir
	
	
		Bonjour,
J'ai écumé le net à la recherche d'une réponse sans succès, je me tourne donc vers vous :)
Voila mon problème:
Je développe en local sur Zend Server et je suis synchroniser avec un serveur mutualisé 1and1.
le code
	Code:
	
| 12
 3
 4
 5
 6
 7
 8
 
 |  
$dir_home = opendir($path); 
while ($f = readdir($dir_home)) {
	if($f != '..' && $f != '.') {
		$images [] = $f;
		echo mb_detect_encoding($f).' '.(mb_check_encoding($f,'UTF-8')).' '.$f.'<br>';
	}
} | 
 me retourne en local
UTF-8 0 D�liresNocturnes.jpg
ASCII 1 GeometrikaOne.jpg
UTF-8 0 M�kanoColor.jpg
ASCII 1 PaysageOnirique.jpg
ASCII 1 SommeilParadoxal.jpg
et online:
ASCII 1 SommeilParadoxal.jpg
UTF-8 1 DéliresNocturnes.jpg
ASCII 1 PaysageOnirique.jpg
UTF-8 1 MékanoColor.jpg
ASCII 1 GeometrikaOne.jpg
Houston on a un problème... mb_check_encoding($f,'UTF-8') retourne 0 alors que mb_detect_encoding me retourne UTF-8 ??
Je pense donc a un problème de config du Zend_Server, j'ai ajouté AddDefaultCharset UTF-8 a mon .htaccess sans succès...
Une idée?