Error unziping files with greek characters

Bug #583417 reported by Yannis Tsop
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unp (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: unp

when trying to unzip a file with greek (or any other non ascii language) characters there are problems with the produced file name. This is due to a known encoding flaw in zip files.

eg: try unp on file: http://www.ops.gr/Ergorama/fileUploads/ypiresiaops/prokirikseis/biografiko.zip

the third file has a problematic name (greek characters) something like "????գ? ?????ҿӮ? ս??_?.doc"

there is no obvious way to manipulate this file (open, rm, mv ...)

I include a modified script that changes default behaviour and uses 7z to unzip files, converting filename from a predefined codepage to the current one.

Revision history for this message
Yannis Tsop (ogiannhs) wrote :
tags: added: patch
Lorenzo De Liso (blackz)
Changed in unp (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Thank you for the patch. It may help in finding a solution but in its current form cannot be considered for inclusion in Ubuntu since it hardcodes the codepage to use. There may be other problems with the patch in its current form. Nonetheless, thank you again for sharing it.

tags: removed: patch
Revision history for this message
Yannis Tsop (ogiannhs) wrote :

If by default I have it disabled, and if the user just changes the source code page to use and enables it would you include it?

Revision history for this message
Nigel Babu (nigelbabu) wrote :

Based on the comments from Rolf, tagging the patch as patch-needswork, please feel free to change that to patch when you have a new patch for review.

tags: added: patch-needswork
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.