Bug 162362 - no russian words in archives, only ???
Summary: no russian words in archives, only ???
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Hvaal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-20 17:06 UTC by Pavel Zaytsev
Modified: 2008-08-16 08:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
File with russian named files (476 bytes, application/x-zip)
2008-05-20 17:14 UTC, Pavel Zaytsev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Zaytsev 2008-05-20 17:06:57 UTC
Version:           2.6.4 (using 3.5.9, Kubuntu (hardy) 4:3.5.9-0ubuntu7.1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.24-16-generic

Folders and files on russian language show as "???? ?? ??????" in Ark. But after unpack arhive names of folders and files show normally.

Ex.:
file.zip
 |_это файл.doc
 |_это тоже файл.xls

Show in Ark window: 
 ??? ????.doc
 ??? ???? ????.xls

stealth@ubserv:~$ locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=
Comment 1 Pavel Zaytsev 2008-05-20 17:14:22 UTC
Created attachment 24863 [details]
File with russian named files

Example of russian archive
Comment 2 Harald Hvaal 2008-08-03 10:38:08 UTC
Tested the file. With kde4 ark, it does not work, it actually doesn't extract at all. Converted to a rar file, and then it worked fine. This leads me to believe that the ark codebase is fine, but the libzip plugin is not.
Comment 3 Harald Hvaal 2008-08-16 08:48:31 UTC
SVN commit 847723 by metellius:

BUG: 162362
Ark does not handle russian filenames correctly. Fixed by using QFile::encode/decodename instead.


 M  +4 -4      zipplugin.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=847723