Opened 14 years ago

Closed 7 years ago

#26636 closed enhancement (fixed)

unzip @6.0 Add variants "iconv" -- to convert filename encoding to current locale

Reported by: koma2@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: haspatch Cc: mkae (Marko Käning), cooljeanius (Eric Gallager), kurthindenburg (Kurt Hindenburg)
Port: unzip

Description

Zip files created on Japanese Windows XP contains filenames encoded in Shift-JIS, and filenames are garbled when extracted by unzip.

I found the patch to fix this problem at the following location:

https://bugs.archlinux.org/task/15256

This patch adds options "-O" and "-I" to specify encoding of filenames in zip files, and convert it to current locale using iconv.

Attachments (1)

unzip-20100926.patch (1.5 KB) - added by koma2@… 14 years ago.

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by koma2@…

Attachment: unzip-20100926.patch added

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Keywords: haspatch added

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

There is upstream discussion of this feature here and here.

comment:3 in reply to:  2 Changed 13 years ago by mkae (Marko Käning)

Cc: mk@… added

Replying to ryandesign@…:

There is upstream discussion of this feature here and here.

Both links seem to have disappeared.

Livecheck isn't working either.

Unzip version 6.1 is in beta since half a year or so...

comment:4 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added

comment:6 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

In 51a7d1820d999413d39a2b4ec517a68699ff5fad/macports-ports:

unzip: add iconv variant to handle filename encoding

Use Debian patch and code from bug report

Closes #26636

Note: See TracTickets for help on using tickets.