ayaports/apk/nextcloud/iconv-ascii-translit-not-supported.patch
2019-06-07 14:13:40 -04:00

13 lines
434 B
Diff

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;