<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>22463</bug_id>
          
          <creation_ts>2009-12-07 03:08:15 +0300</creation_ts>
          <short_desc>can&apos;t extract files with Russian names from .zip (in ru_RU.CP1251)</short_desc>
          <delta_ts>2017-12-11 21:26:48 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>xarchiver</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>george</cc>
    
    <cc>ildar</cc>
    
    <cc>lav</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103923</commentid>
    <comment_count>0</comment_count>
      <attachid>4106</attachid>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-12-07 03:08:15 +0300</bug_when>
    <thetext>Created attachment 4106
Result of: zip имя2.zip имя.txt

xarchiver-0.5.2-alt1

zip-2.32-alt2
unzip-6.0-alt2

xarchiver can&apos;t extract files with Russian names from .zip (at least, in ru_RU.CP1251).

How to reproduce:

$ locale
LANG=ru_RU.CP1251
LC_CTYPE=&quot;ru_RU.CP1251&quot;
LC_NUMERIC=&quot;ru_RU.CP1251&quot;
LC_TIME=&quot;ru_RU.CP1251&quot;
LC_COLLATE=&quot;ru_RU.CP1251&quot;
LC_MONETARY=&quot;ru_RU.CP1251&quot;
LC_MESSAGES=&quot;ru_RU.CP1251&quot;
LC_PAPER=&quot;ru_RU.CP1251&quot;
LC_NAME=&quot;ru_RU.CP1251&quot;
LC_ADDRESS=&quot;ru_RU.CP1251&quot;
LC_TELEPHONE=&quot;ru_RU.CP1251&quot;
LC_MEASUREMENT=&quot;ru_RU.CP1251&quot;
LC_IDENTIFICATION=&quot;ru_RU.CP1251&quot;
LC_ALL=
$ echo a &gt; имя.txt
$ zip имя2.zip имя.txt
  adding: имя.txt (stored 0%)
$ xarchiver имя2.zip

It shows the following error message hwen trying to view or extract the included file: &quot;Произошла ошибка!
Проверьте параметр «Сохранять сообщения архиватора» чтобы увидеть это.&quot;.

Also, the filename is not correctly displayed inside xarchiver: èìÿ.txt

Workaround: use &quot;unzip&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103924</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-12-07 03:10:06 +0300</bug_when>
    <thetext>More info:

if the &quot;verbose&quot; mode of xarchiver is enabled (as advised in the error message), the we read the following:

Archive:  /home/mama/tech-problems/zip-Russian/имя2.zip
caution: filename not matched:  Р“РЃР“В¬Р“С—.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103925</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-12-07 03:11:58 +0300</bug_when>
    <thetext>So neither archive manager with GUI (file-roller or xarchiver) is working well with Russian filenames: cf. https://bugzilla.altlinux.org/show_bug.cgi?id=22462 -- either the problem is with a Russian name of an included file, or with a Russian name of the archive file. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103927</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-12-07 03:24:36 +0300</bug_when>
    <thetext>(In reply to comment #2)
&gt; So neither archive manager with GUI (file-roller or xarchiver) is working well
&gt; with Russian filenames: cf. https://bugzilla.altlinux.org/show_bug.cgi?id=22462
&gt; -- either the problem is with a Russian name of an included file, or with a
&gt; Russian name of the archive file. :(

Workaround: /usr/lib/kde4/bin/ark from kde4utils-ark-4.3.3-alt0.M51.1 works fine in this situation.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>4106</attachid>
            <date>2009-12-07 03:08:15 +0300</date>
            <delta_ts>2009-12-07 03:08:15 +0300</delta_ts>
            <desc>Result of: zip имя2.zip имя.txt</desc>
            <filename>имя2.zip</filename>
            <type>application/zip</type>
            <size>148</size>
            <attacher name="Ivan Zakharyaschev">imz</attacher>
            
              <data encoding="base64">UEsDBAoAAAAAABkQhzsHoerdAgAAAAIAAAAHABUAqKzvLnR4dFVUCQADoTccS6E3HEtVeAQA+QH5
AWEKUEsBAhcLCgAAAAAAGRCHOweh6t0CAAAAAgAAAAcADQAAAAAAAQAAAKSBAAAAAKis7y50eHRV
VAUAA6E3HEtVeAAAUEsFBgAAAAABAAEAQgAAADwAAAAAAA==
</data>

          </attachment>
      

    </bug>

</bugzilla>