Include unzip with utf-8 support

  • Unless I am missing something the busybox unzip does not support utf-8 filenames. Could it be updated or configured for utf-8 or would a replacement be available?

    vs

  • This is a super-simple python script to unpack the NPVR.zip file:

    Code
    #!/usr/bin/env python3
    import zipfile
    with zipfile.ZipFile('NPVR.zip', 'r') as z:
        z.extractall('/storage/.kodi/addons/pvr.nextpvr/files/etc')

    Unlike busybox unzip, python 'zipfile' will preserve the filenames, e.g. after unpacking:

  • I actually submitted a PR for a addon which doesn't need a script using this syntax

    python -m zipfile --extract source.zip directory

    However I feel a utf-8 unzip would probably help others extracting downloads etc.

  • However I feel a utf-8 unzip would probably help others extracting downloads etc.

    I don't recall this issue coming up before despite umlaut and DVB loving Germans being our largest demographic, and there are multiple workarounds (7z, zipfile, etc.) so I don't see much need to replace busybox unzip with the full-fat version.

    If LE added everything that would 'probably help' it would be a 1.2GB distro download like Ubuntu :)