Merge pull request #365 from IGLOU-EU/IGLOU-EU-patch-1

Add //TRANSLIT to iconv for activate transliteration.
This commit is contained in:
Damien Sorel
2015-10-30 18:06:23 +01:00
+2 -2
View File
@@ -1631,7 +1631,7 @@ function convert_charset($str, $source_charset, $dest_charset)
}
if (function_exists('iconv'))
{
return iconv($source_charset, $dest_charset, $str);
return iconv($source_charset, $dest_charset.'//TRANSLIT', $str);
}
if (function_exists('mb_convert_encoding'))
{
@@ -2092,4 +2092,4 @@ function safe_version_compare($a, $b, $op=null)
}
}
?>
?>