[Bug 396605] Re: Bad CHARSET in filenames of zip archives, created with ubuntu

Mathew Hodson mathew.hodson at gmail.com
Mon May 16 01:32:32 UTC 2016


*** This bug is a duplicate of bug 580961 ***
    https://bugs.launchpad.net/bugs/580961

** This bug has been marked a duplicate of bug 580961
   unzip fails to deal correctly with filename encodings

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zip in Ubuntu.
https://bugs.launchpad.net/bugs/396605

Title:
  Bad CHARSET in filenames of zip archives, created with ubuntu

Status in p7zip package in Ubuntu:
  Confirmed
Status in zip package in Ubuntu:
  Confirmed

Bug description:
  I try to create a zip archive on Ubuntu (using Ubuntu 9.04 AMD64) with
  non-latin symbols in filename that opens correctly on Windows XP but
  can't do it.

  All non-latin (Russian) symbols shows in Windows XP (I try standart
  support of ZIP in WinXP and 7zip on windows) bad.

  For example, I create the file named "тестовый_файл.txt" and try to pack via standart zip and 7z:
  $ 7z a ./test_linux_7z.zip ./тестовый_файл.txt
  $ zip -r ./test_linux_zip.zip ./тестовый_файл.txt

  And I try to create the archive on Windows XP via internal zip
  (test_win_winxp.zip) and 7zip (test_win_7z.zip)

  After that I can correctly view the filename in all files in Linux:
  $ unzip -l ./test_linux_zip.zip
          4  07-07-09 18:49   тестовый_файл.txt
  $ unzip -l ./test_linux_7z.zip
          4  07-07-09 18:49   тестовый_файл.txt
  $ unzip -l ./test_win_winxp.zip
          4  07-07-09 18:49   тестовый_файл.txt
  $ unzip -l ./test_win_7z.zip
          4  07-07-09 18:49   тестовый_файл.txt

  But on WINDOWS I try to list filenames in archives that created on
  linux, but it shows bad:

  E:\murz\arch>"C:\Program Files\7-Zip\7z.exe" l test_linux_zip.zip
  7-Zip 4.57  Copyright (c) 1999-2007 Igor Pavlov  2007-12-06
     Date      Time    Attr         Size   Compressed  Name
  ------------------- ----- ------------ ------------  ------------------------
  2009-07-07 18:49:14 .....            4            4  С'РчС_С'Р_Р_С<Р№_С"айР>.txt
  ------------------- ----- ------------ ------------  ------------------------

  E:\murz\arch>"C:\Program Files\7-Zip\7z.exe" l test_linux_7z.zip
  2009-07-07 18:49:14 .....            4            4  С'РчС_С'Р_Р_С<Р№_С"айР>.txt

  E:\murz\arch>"C:\Program Files\7-Zip\7z.exe" l test_win_winxp.zip
  2009-07-07 18:49:14 .....            4            4  тестовый_файл.txt

  E:\murz\arch>"C:\Program Files\7-Zip\7z.exe" l test_win_7z.zip
  2009-07-07 18:49:14 ....A            4            4  тестовый_файл.txt

  And if I try to list via Windows internal zip, I see bad filename too
  (results are on attached screenshot).

  I have attached to bug all created files for testing.

  How I can correctly create a zip archive on Ubuntu that normally
  extracts on windows?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/p7zip/+bug/396605/+subscriptions



More information about the foundations-bugs mailing list