1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/nextcloud/iconv-ascii-translit-not-supported.patch
Jakub Jirutka b4bede3f03 community/nextcloud: put back comments into the patches
All three patches were added by me and @rnalrd had removed
the comments that explains their purpose when he updated them.
2018-10-10 18:00:09 +02: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;