Summary: | Default encoding of zipped file names option needed. | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Andrey Cherepanov <sibskull> |
Component: | general | Assignee: | Harald Hvaal <metellius> |
Status: | RESOLVED WORKSFORME | ||
Severity: | wishlist | CC: | rakuco, web.hijacker |
Priority: | NOR | ||
Version: | 2.1.9 | ||
Target Milestone: | --- | ||
Platform: | RedHat Enterprise Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Ark fails to parse the filename correctly openning this rar archive
unzip -v works OK ark shows russian names incorrectly ark failed to show or extract file |
Description
Andrey Cherepanov
2002-06-18 09:44:58 UTC
I guess the best way to work with archive - put default charset combobox into application setting dialog. After defining CP866 (damn! Qt ins't implement this charset still!) ALL zip archives must read/write filenames in this codepage. Well the preferences are fine for the default, but I would like to have the encoding options in the file menus like in Kate. > Well the preferences are fine for the default, but I would
> like to have the encoding options in the file menus like in Kate.
Ok! Need to select charsets for file names in archive both ways. Possible, I
can do patch for implement this behavior. :)
> Possible, I
> can do patch for implement this behavior. :)
If you do this, I'll hapilly consider commiting it.
note: krename has a file encoding plugin Why I should be use krename, if I only need simple view and extract files? It's not good usability behaviour. 1. There was a patch for cp866 encoding, but it was dropped :( 2. We have to assume default filename encoding in archive according to current locale (use natspec library for it). So how about fixing the problem? It's there for over 4 years. I'm also unable to open files with the russian names in Ark/KDE-3.5.2, although system locale is ru_RU.CP1251... I work on patch. :) Created attachment 17768 [details]
Ark fails to parse the filename correctly openning this rar archive
There are problems openning rar archive with ark. The ark filenames are in the
wrong encoding, so extract/view/etc activities fail.
It's necessary feature. To view files in archive created under Windows with cp1251, in Linux with UTF8-RU.ru. This bug, if fixed, should be extended to all encodings. Not just russian. Japanese, Big5... any encoding. Andrey: any progress on the patch? I stop make patch for ark because I use ALT Linux with unrar and patched unzip. These programs autodetect encoding by system locale and ark show cyrillic filenames without problem. Can you provide links to these patched versions? Hi! I use FreeBSD with ru_RU.KOI8-R locale and Fedora Core with ru_RU.UTF8 locale. On both systems ark works wrong with zip archives containing russian filenames. Under FC zip & unzip patched with patch from rusxmms project. File-roller from Gnome works OK. unzip isn't cause of this: files were packed under the same encoding and in command line unzip -v shows filenames correctly. (see attachment) But it seems that ark opens it in wrong charset (like latin-1 or similar) (see attachment) Ark unable to unarchive or see files with russian names in archive, but in temp dir they exist! (see attachment) Created attachment 21528 [details]
unzip -v works OK
This shows that unzip is not cause.
Created attachment 21529 [details]
ark shows russian names incorrectly
Created attachment 21530 [details]
ark failed to show or extract file
I was able to open and extract the attachment in comment 10 without any problems here (Ark trunk, future KDE 4.3). I'm using UTF-8 here. So I'm closing this bug as WORKSFORME. If anyone using another encoding manages to make the bug happen, please reopen the report. |