Bug 82436 - wrong encoding for filenames
Summary: wrong encoding for filenames
Status: CONFIRMED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Archive (other bugs)
Version First Reported In: 18.04.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-29 14:10 UTC by Nick Shaforostoff
Modified: 2019-03-05 16:13 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Shaforostoff 2004-05-29 14:10:30 UTC
Version:            (using KDE KDE 3.2.1)

When i created zip-archive containing russian filenames (through RMB->Actions->Create ZIP arxhive; syslocale is koi8-u) and browsed it on Windows, filenames contained pseudographic characters.

Zip slave should convert filenames from syslocale to cp1251.
Comment 1 Nicolas Goutte 2004-05-30 16:30:07 UTC
Well, that is the problem of the ZIP format. It does not tell in which encoding the file format is and it is always in the locale encoding (since MS-DOS.)

Have a nice day!
Comment 2 Nicolas Goutte 2004-05-31 14:49:38 UTC
On Sunday 30 May 2004 16:30, Nicolas Goutte wrote:
(...)
>Well, that is the problem of the ZIP format. It does not tell in
> which encoding the file format is and it is always in the locale encoding
> (since MS-DOS.)

Reading my message again, I find that I have not explained enough.

The problem of changing automatically the encoding for specific locale 
encodings would mean that the KDE ZIP tools would be incompatible to other 
tools running on Linux (or respectively on other Unix-like operating 
systems.)

>
> Have a nice day!

Comment 3 Nick Shaforostoff 2004-05-31 15:08:39 UTC
so the possible resolution is to make second zip action

RMB->Actions->Create ZIP archive (windows compatible)
Comment 4 Nicolas Goutte 2005-08-06 20:20:23 UTC
See also bug #89051 for problem about ZIP file name encoding.
Comment 5 Julian Steinmann 2018-07-21 15:28:30 UTC
This issue does still exist, but adding a separate option does not seem like a good idea to me. I'll move it over to kio-extras, but a good solution should be done in harmony with KZip (see bug 89051).