aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/iconv-ascii-translit-not-supported.patch
blob: f599a1b020c0b52972fa2b854cc6ad9e731e79a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -1318,7 +1318,7 @@
 		}
 
 		// Transliteration to ASCII
-		$transliterated = @iconv('UTF-8', 'ASCII//TRANSLIT', $name);
+		$transliterated = @iconv('UTF-8', 'ASCII', $name);
 		if($transliterated !== false) {
 			// depending on system config iconv can work or not
 			$name = $transliterated;