I searched that for correct filenames in zip on Windows it must be stored in DOS (CP866) encoding. But I can't find how to force zip command create filenames in DOS encoding.
Command unzip have an options for working with DOS encoding: $ unzip --help -O CHARSET specify a character encoding for DOS, Windows and OS/2 archives -I CHARSET specify a character encoding for UNIX and other archives But zip didn't work with this options: $ zip -O DOS -r ./test2.zip ./тестовый_файл.txt zip error: Invalid command arguments (no such option: O) ** Also affects: p7zip (Ubuntu) Importance: Undecided Status: New ** Changed in: zip (Ubuntu) Status: New => Confirmed -- 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