Bug 220513

Summary: Make it possible to define the program/lib/command being used to compress/uncompress files
Product: [Applications] ark Reporter: Bernd Steinhauser <linux>
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: elvis.angelaccio, rakuco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Exherbo   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernd Steinhauser 2009-12-29 12:57:21 UTC
Version:            (using KDE 4.3.4)
Installed from:    Exherbo Packages

When uncompressing zip files with unzip or ark, one may see problems with special characters, like the german »Umlauts«, in the filenames.
This results in problems with Dolphin, which seems to be unable to rename/delete these files, at least in some cases (actually that's a Dolphin issue, but that's not the point I'm talking about).

Ark should either include a routine to fix filenames (maybe allow changing starting charset and target charset?), if necessary, or – which I would prefer – make it possible to define, which way should be used to unpack files.
One of the easiest solution to the problem stated above is to use 7z(a), which unpacks those files and fixes the filenames automatically.
If I remember correctly, Ark does make use of 7z, but only for .7z archives.

Maybe even both solutions might be usable for several cases.
Comment 1 Raphael Kubo da Costa 2009-12-29 17:07:52 UTC
Most of the problems with non-ASCII characters in zip files are caused by infozip itself; there were some bug reports about it, and some distributions patch infozip to make it handle different encodings correctly.

I didn't know 7zip apparently corrected it (it probably just doesn't rely on infozip).

Anyway, the wish itself sounds quite reasonable :)
Comment 2 Raphael Kubo da Costa 2010-12-08 02:19:14 UTC
Changing the default assignee in the currently open Ark bug reports to me.
Comment 3 Elvis Angelaccio 2015-10-25 22:38:03 UTC
(In reply to Bernd Steinhauser from comment #0)
> Version:            (using KDE 4.3.4)
> Installed from:    Exherbo Packages
> 
> When uncompressing zip files with unzip or ark, one may see problems with
> special characters, like the german »Umlauts«, in the filenames.
> This results in problems with Dolphin, which seems to be unable to
> rename/delete these files, at least in some cases (actually that's a Dolphin
> issue, but that's not the point I'm talking about).
> 
> Ark should either include a routine to fix filenames (maybe allow changing
> starting charset and target charset?), if necessary, or – which I would
> prefer – make it possible to define, which way should be used to unpack
> files.
> One of the easiest solution to the problem stated above is to use 7z(a),
> which unpacks those files and fixes the filenames automatically.
> If I remember correctly, Ark does make use of 7z, but only for .7z archives.
> 
> Maybe even both solutions might be usable for several cases.

Starting from version 15.12, Ark will use 7z also for .zip archives. So I'm marking this wish as duplicate. Please reopen if you really want to be able to choose between e.g. zip or 7z before e.g. extracting. (Why would you? As long as 7z does the job...)

*** This bug has been marked as a duplicate of bug 240727 ***