aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/iconv-ascii-translit-not-supported.patch
blob: 8c0825d4feb65d69d9e77528dfdab099bc9a08ad (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
@@ -1200,7 +1200,7 @@
 
 		// Transliteration
 		// latin characters to ASCII
-		$name = iconv('UTF-8', 'ASCII//TRANSLIT', $name);
+		$name = iconv('UTF-8', 'ASCII', $name);
 
 		// Replacements
 		$name = str_replace(' ', '_', $name);