Unzip step fails when accented files exists.

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When using unzip step from Pipeline utility steps, the unzip action failed everytime when files are accented (e.g : méthode instead of method).

      Stacktrace are not really helpful :

      java.lang.IllegalArgumentException: MALFORMED
              at java.util.zip.ZipCoder.toString(ZipCoder.java:58)
      	at java.util.zip.ZipFile.getZipEntry(ZipFile.java:566)
      	at java.util.zip.ZipFile.access$900(ZipFile.java:60)
      	at java.util.zip.ZipFile$ZipEntryIterator.next(ZipFile.java:524)
              [...]

      No display is given on which file caused the exception and I have spend 3 hours to finally found the reason in this fatty zip that I was trying to unzip (using 7z or WinRar was not helpful because they are not disturb by accented names).

       

       Maybe unzip can handle accented names (Probably an option exists in Java Unzip library) or at least, it can display the file that will be extract before extract it (to find easily which one is causing the issue).

       

      Regards.

            Assignee:
            rsandell
            Reporter:
            Alexandre Quettier
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: