I think we create the zip files for git with `git archive` not the `zip` 
command.  Quick googling shows a *long* thread about the topic: 
http://git.661346.n2.nabble.com/git-archive-format-zip-utf-8-issues-td7564798.html
  I didn't read it all, I'll let whoever takes this ticket figure out what the 
results are.  It sounds like they made some improvements during the course of 
that thread so versions of git after that date might be better than others.


---

** [tickets:#7900] Issue with encoding of filenames in git snapshot zip**

**Status:** open
**Milestone:** unreleased
**Labels:** sf-current 
**Created:** Thu Jun 18, 2015 08:37 PM UTC by Dave Brondsema
**Last Updated:** Fri Jun 19, 2015 01:27 PM UTC
**Owner:** nobody

If a git repo has a filename with unicode characters, and you download a 
snapshot zip file, then unzip it the filename will probably be wrong.

Example:  "Download Snapshot" link on 
https://sourceforge.net/p/compilibre/code/ci/master/tree/ and then 
"COMPILIBRE-source/COMPILIBRE/installer/Cliquez ici pour démarrer 
COMPILIBRE.bat" can end up as "Cliquez ici pour d+?marrer COMPILIBRE.bat" or 
"Cliquez ici pour démarrer COMPILIBRE.bat"

I wonder how easy this is to fix?  Does it matter what your git settings are, 
or how the file was added to the repo?  Or your local filesystem?

Original report: https://sourceforge.net/p/forge/feature-requests/353/


---

Sent from forge-allura.apache.org because [email protected] is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to