diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/access.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php index ec3b5264915..68df4c4cb93 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -564,6 +564,10 @@ abstract class Access { return $name; } + // Translitaration + //latin characters to ASCII + $name = iconv('UTF-8', 'ASCII//TRANSLIT', $name); + //REPLACEMENTS $name = \OCP\Util::mb_str_replace(' ', '_', $name, 'UTF-8'); |