git archive --format zip utf-8 issues
- From
- Sven Strickroth <sven.strickroth@tu-clausthal.de>
- Date
- Aug 10, 2012, 21:58 UTC
- Message-ID
- <502583F4.8030308@tu-clausthal.de>
Hi,
when I create a git repository, add a file containing utf-8 characters or umlauts (like öäü.txt), commit and then export the HEAD revision to a zip archive using "git archive --format zip -o 1.zip HEAD", the zip file contains incorrect filenames:
$ unzip -l 1.zip
Archive: 1.zip
4490a6dab1df5404f91ab3eb871f133154bff0bf
Length Date Time Name
--------- ---------- ----- ----
6 2012-08-10 23:41 +?+?++.txt
--------- -------
6 1 file-- Best regards, Sven Strickroth PGP key id F5A9D4C4 @ any key-server