ayaports/apk/nextcloud/iconv-ascii-translit-not-supported.patch

14 lines
434 B
Diff
Raw Normal View History

2019-06-07 18:13:40 +00:00
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;