mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-31 06:02:00 +01:00
Update functions.inc.php
Add //TRANSLIT to iconv for activate transliteration.
This commit is contained in:
1 parent
d7fef70c4c
commit
9fb420d426
1 file changed
+2
-2
@@ -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