Edgewall Software

Ticket #4432 (new defect)

Opened 2 years ago

Last modified 21 months ago

Filenames in Zip-Downloads corrupted

Reported by: anw@… Owned by: cboos
Priority: normal Milestone: 0.13
Component: version control/browser Version: 0.10.2
Severity: minor Keywords: preferences
Cc:

Description (last modified by cboos) (diff)

Filenames in Zip-Downloads of whole directories are corrupted when they contain any special chars (like german umlaute). For example ü is replaced by ++.

Attachments

Change History

Changed 2 years ago by cboos

Well, the filename is currently saved as an UTF-8 string, which is not supported by all Zip tools. Last time I've checked, other choices were even worse/less portable.

What would you suggest?

Changed 2 years ago by anonymous

What about a config option to set the encoding of filenames ?

Changed 2 years ago by cboos

Rather as an user preference then, as this corresponds to the client tool used, not to something that can be known from the server side.

Changed 2 years ago by anonymous

Well, I think this could be a server config. Because in your project so sould define your filename conventions. and these conventions than match your server config. Or even as an default for the client-option, beacause many users would not know which filenameencoding to use.

Changed 2 years ago by cboos

  • keywords preferences added
  • severity changed from normal to minor
  • summary changed from Filenames in Zip-Downloads coruppted to Filenames in Zip-Downloads corrupted
  • description modified (diff)
  • milestone set to 0.11

It's not a matter of conventions, it's a matter of what filesystem you're using on your computer, and what Zip tools you're using. See r3096.

E.g. I think that on Macintosh, a popular Zip tool expects UTF-8 encoded filenames.

But yes, we could try to pick up some "sane" default if the user preference is not set, e.g. the same as the configured default charset for the repository.

Changed 21 months ago by cboos

  • milestone changed from 0.11 to 0.12

Not for 0.11.

Add/Change #4432 (Filenames in Zip-Downloads corrupted)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cboos. Next status will be 'new'
The owner will change from cboos to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.