Public bug reported:

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?

** Affects: p7zip (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: zip (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: charset codepage cp1251 cp866 russian zip

-- 
Bad CHARSET in filenames of zip archives, created with ubuntu
https://bugs.launchpad.net/bugs/396605
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs

Reply via email to