Skip to content

Commit

Permalink
Fixed locale processing, now engrampa works fine with patched p7zip
Browse files Browse the repository at this point in the history
  • Loading branch information
unxed committed Jun 23, 2020
1 parent b492f5a commit 2186faa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified p7zip_16.02_oemcpauto.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion p7zip_oemcp_ZipItem.cpp.patch
Expand Up @@ -19,7 +19,7 @@
+ if (!isUtf8) {
+
+ char OEM_CP[25] = "";
+ char *locale = strdup(setlocale(LC_ALL, ""));
+ char *locale = strdup(setlocale(LC_CTYPE, ""));
+ char *lang = strtok(locale, ".");
+
+ // CP437 is default
Expand Down

0 comments on commit 2186faa

Please sign in to comment.