I had the same issue in linux using unizp -- but 7zip properly detected the 
unicode names.

We might be able to address it server side to some degree with something like: 
`zip archive dir -r -UN=UTF8`

Or possibly upgrade the version of zip on the server to 3.0+.

`
...zip 3.0, in addition to the standard file path, now includes the UTF-8 
translation of the path if the entry path is not entirely 7-bit ASCII. When an 
entry is missing the Unicode path, zip reverts back to the standard file path.
`


---

** [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 06:58 AM 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