diff options
author | Damien Sorel <mistic100@users.noreply.github.com> | 2015-10-30 18:06:23 +0100 |
---|---|---|
committer | Damien Sorel <mistic100@users.noreply.github.com> | 2015-10-30 18:06:23 +0100 |
commit | 74e2194a5fb9a06148a7f3b03530daa7378a9be2 (patch) | |
tree | c6c527d3bc5dd2994c07a086d319ab42c7ca09b0 | |
parent | d7fef70c4c3707fd7650896c5a62f0a7c5cc81f0 (diff) | |
parent | 9fb420d426eecb72c0f3e2c0b602cdedac239f4a (diff) |
Merge pull request #365 from IGLOU-EU/IGLOU-EU-patch-1
Add //TRANSLIT to iconv for activate transliteration.
-rw-r--r-- | include/functions.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index a9ae35baf..60a1885e5 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -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) } } -?>
\ No newline at end of file +?> |