Retirer les accents
public static function FormatName ($n)
{
$n = strtr($n,
'ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïðòóôõöùúûüýÿ',
'AAAAAACEEEEIIIIOOOOOUUUUYaaaaaaceeeeiiiioooooouuuuyy');
$n = preg_replace('/([^.a-z0-9]+)/i', '-', $n);
return $n;
}