Skip to content

Commit

Permalink
force to use UTF-8 for DOS, Windows and OS/2 ZIP archives
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed Feb 22, 2019
1 parent a06ede7 commit 43d8b2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xcompress"
version = "0.10.4"
version = "0.10.5"
authors = ["Magic Len <[email protected]>"]
repository = "https://github.com/magiclen/xcompress"
homepage = "https://magiclen.org/xcompress"
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2517,6 +2517,9 @@ pub fn extract(paths: &ExePaths, quiet: bool, cpus: usize, password: &str, exlud
cmd.push("-qq");
}

cmd.push("-O");
cmd.push("UTF-8");

cmd.push("-o");
cmd.push(input_path);
cmd.push("-d");
Expand Down

0 comments on commit 43d8b2b

Please sign in to comment.