Version: 2.1.9 (using KDE KDE 3.1.2) Installed from: RedHat RPMs Compiler: gcc 3.2 OS: Linux Open a archive file with ark: 1.When select a file with Chinese name in the view and select "extract",it do nothing.But work well with English-name files. 2.It can not display chinese files names crrectly in the view only for *.zip files.(display confused code).The code in ark dealing with *.zip files may has some problem, while other format files don't have this problems. 3.When and a Chinese name file to a ZIP arhiver,it has the same problem as above.(display cofused code,not the real file name.) I tested it under kdeutils-3.1.2 (stable) not latest ark. Because I can not compile the latest ark properly. I want to listen suggestions on how to solve the problem, if it is a bug and has not solved in latest version.
Created attachment 1997 [details] a zip file with a Chinese named file and an English named file in it. You can open this file to see the bug.
This is very difficult to solve. The zip file does not store the filename encoding as far as I know, so there's no way for Ark to discover it. Does the problem happen when browsing the file in Konqueror? Do you have similar problems with the command-line zip utility?
For me, even the command-line zip shows incorrect filenames. Maybe we can use KLocale to try to do an encoding conversion, but I'm not sure it would work.
*** This bug has been marked as a duplicate of 43696 ***
Where is the same problem whith cp1251 encoding - tar.gz work fine, but zip show filenames in whong encoding. What about rar it depend of extract method, from konqueror fine, from konqueror whong.