Summary: | When creating a zip file accents are not encoded properly (i.e. "é" "è" etc.) | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Mahendra Tallur <mahen> |
Component: | general | Assignee: | Raphael Kubo da Costa <rakuco> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.15 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mahendra Tallur
2010-12-21 10:06:53 UTC
An Archlinux user just told me he couldn't reproduce this issue (KDE 4.5.x as well). Now I wonder if it's a Kubuntu bug or if the bug is partly due to Kubuntu and partly to KDE... One more piece of information : when listing the file with unzip, I get question marks. When listing the file within ark, I get question marks. BUT, when *extracting* the archive I get in the command line, for instance : "extracting : No??l" BUT the extracted file has the correct filename ! It turned out this bugreport should be closed, I'm really confused. Actually, the very same behaviour occurs when using "zip" from the command line ! As there's no such issue in Ubuntu, I thought there wouldn't either in Kubuntu, so I didn't even check this at first, sigh... KDE is not at fault here, really sorry for the spam. Just one thing: are you not using UTF-8 when creating those files with accents and the zip file afterwards? Well, I assume I should be using UTF-8 all the time. The fact one single accent is replaced by two "??" shows the filenames were encoded as UTF-8 in the archive. Anyway, the problem is not in KDE. But, I figured out the following which is really strange (and will open a new bug report accordingly... in Launchpad). By default, in Ubuntu 10.10 or 11.04, when creating a zip archive containing files that contains special characters, with both file-roller and zip from the command line : I get "??" instead of accents. HOWEVER, after installing p7zip-full, filenames are encoded properly. Even when just invoking zip from the command line. Which seems to indicate that zip calls p7zip-full when the latter is present. But it's not that simple... Because this behaviour doesn't apply under... Kubuntu ! I installed p7zip-full and I still get "??" when calling zip... (one more remark : people experience this issue under Debian & Ubuntu ; not under OpenSUSE and ArchLinux) ArchLinux seems to build its unzip package much like Debian (and Ubuntu, consequently), however if I create a file with accents in its name it is shown correctly here with 'unzip -l'. Bug 240727 is related, but it mentions zip files created in non-UTF-8 encodings. 7zip is known to handle these situations better. I'll close this as a bug downstream (in this case, Ubuntu/Debian). In case there's some thing wrong on our side, please don't hesitate to reopen. Thanks. |