Exemple #1
0
 public static function _iconv($str)
 {
     if (!u::isUtf8($str)) {
         $str = utf8_encode($str);
     }
     setlocale(LC_CTYPE, 'fr_FR');
     return iconv('UTF-8', 'ISO-8859-1//TRANSLIT', $str);
 }