You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
534 B

diff -u -r ../libarchive-3.1.2/libarchive/archive_write_disk_posix.c ./libarchive/archive_write_disk_posix.c
--- ../libarchive-3.1.2/libarchive/archive_write_disk_posix.c 2013-02-08 01:52:07.000000000 +0100
+++ ./libarchive/archive_write_disk_posix.c 2014-07-15 19:09:38.106845578 +0200
@@ -2456,7 +2456,11 @@
alen = 0;
mb = 0;
complete = 1;
+#ifdef __ANDROID__
+ utf8 = 1;
+#else
utf8 = (strcmp(nl_langinfo(CODESET), "UTF-8") == 0)? 1: 0;
+#endif
for (p = a->name; *p != '\0'; p++) {
++alen;
if (*p == '\\') {