aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/iconv-ascii-translit-not-supported.patch
blob: bb13a9514a78491654ba4c57f93ed5a19ad2c773 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
iconv on Alpine does not support conversion to ASCII//TRANSLIT

--- 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;