aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorIglou.eu <contact@iglou.eu>2015-10-29 15:29:50 +0100
committerIglou.eu <contact@iglou.eu>2015-10-29 15:29:50 +0100
commit9fb420d426eecb72c0f3e2c0b602cdedac239f4a (patch)
treec6c527d3bc5dd2994c07a086d319ab42c7ca09b0 /include/functions.inc.php
parentd7fef70c4c3707fd7650896c5a62f0a7c5cc81f0 (diff)
Update functions.inc.php
Add //TRANSLIT to iconv for activate transliteration.
Diffstat (limited to '')
-rw-r--r--include/functions.inc.php4
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
+?>