Ark does not process archives containing files with cyrillic names

Bug #66534 reported by Jacob Popov on 2006-10-17
4
Affects Status Importance Assigned to Milestone
kdeutils (Ubuntu)
Undecided
Unassigned

Bug Description

Ark does not process archives containing files with cyrillic names.
When I try to open the archived file, ark displays files names with garbage symbols in place of cyrillic ones. When I try to extract a file ark produces an error message: "The file <different garbage symbols>.doc doesn't exist".
Surprisingly, the archive file's context menu item "extract to..." in Konqueror works! Maybe it's because this item does not require passing file name to upzip backend?

Actually, I believe that it's not a problem of ark itself, but of unrar, unzip, p7zip, gzip, etc.
When I try to list the contents of th archive in the konsole, it also displays that wrecked names, and I can not make konsole display them good, there just isn't codepage that fits it.

So I believe these utils produce output in some codepage (presumably, cp1251), which is not converted, but is sent to the output directly (which leads to re-coding it as utf8).

Jacob Popov (j-a-popov) on 2006-10-17
description: updated
Jacob Popov (j-a-popov) wrote :

I have made some investigations on the problem and discovered the following:
the text that appears in the konsole, is an cp1251 (windows) one, recoded in dos-866, and then displayed in utf8.

So the solution would be to somehow prevent recoding while piping the backend output, and recode with the means of the program (some options for that should be made available).

But maybe someone knows a better solution (e.g., krusader works fine, maybe there is a working solution for konqueror)?

Jacob Popov (j-a-popov) wrote :

No, I was wrong: krusader doesn't work properly either.

For now I'm forced to use 7-zip launched with Wine.

Yuriy Kozlov (yuriy-kozlov) wrote :

Is this a duplicate of Bug 62439?

Jacob Popov (j-a-popov) wrote :

Well, it's certainly a duplicate of #62439.

Actually the very same problem appears with every backend, so it's a problem with kde.

IMHO, the best solution is provided in ARK Linux, however it's also partial as ARK's ark (funny name for a distro, btw :-) ) doesn't open .zip properly either.
I use a port of their unzip which works correctly with russian names.
When ARK Linux team makes a fixed version of ark, I will port it to Kubuntu. Until then, just wait?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers