Comment 4 for bug 2066389

Revision history for this message
Unxed (unxed) wrote (last edit ):

Here is unzip with such problem fixed:
https://github.com/unxed/unzip/tree/ubuntu

Nuances:

1) Everything here is done on top of the full set of patches from Ubuntu, this is reflected in the commit history. That is, you can make a new patch from this repo and add it to Ubuntu, and everything will be ok, in theory. This was done because I didn’t want to take authorship of someone else’s code (for example, with support for the -I and -O options in my patch) but wanted to supplement it with correct auto-detection of the encoding.

2) There is no support for archives with ANSI encoding yet (such archives also exist, although they are not very common). However, it was not there before anyway. Will probably add it in future similar to how it is done in 7zip.

UPD: Added ANSI archives support