mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-08 06:14:54 +02:00
Update functions.inc.php
Add //TRANSLIT to iconv for activate transliteration.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user