Bug 356334 - "Document archive" uses incorrect encoding for filenames
Summary: "Document archive" uses incorrect encoding for filenames
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.20.3
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-12-06 12:44 UTC by Pastafarianist
Modified: 2018-10-27 02:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pastafarianist 2015-12-06 12:44:30 UTC
Saving a marked-up document as a "document archive" and then unzipping that archive produces files with incorrectly encoded filenames.

Reproducible: Always

Steps to Reproduce:
1. Open a file with a non-latin filename (for example, документ.djvu)
2. Export it as a "document archive"
3. `unzip` that archive
4. Observe incorrectly encoded filename.

Actual Results:  
The filename of the unpacked file is encoded incorrectly.

Expected Results:  
The filename should have been preserved.
Comment 1 Albert Astals Cid 2015-12-07 22:39:01 UTC
Why is that a bug? You're not supposed to unzip the document archive, the fact that is a zip is just internal behaviour and might change at any point.
Comment 2 Pastafarianist 2015-12-10 18:57:59 UTC
It might indicate that there is an internal problem with encodings which may blow up elsewhere. That is also why I marked this bug as the lowest possible priority.
Comment 3 Pastafarianist 2016-02-03 19:33:16 UTC
https://bugs.kde.org/show_bug.cgi?id=358960 told ya!
Comment 4 Andrew Crouthamel 2018-09-25 21:42:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-27 02:52:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!