[Pkg-mc-devel] [Bug 706455] Re: utf8 filenames in jar files are not displayed correctly in vfs
Yury V. Zaytsev
yury at shurup.com
Sun Jan 23 01:52:59 UTC 2011
*** This bug is a duplicate of bug 544161 ***
https://bugs.launchpad.net/bugs/544161
In fact, jar files *are* zip files. It seems to me that it's a bug in
zip.
** This bug has been marked a duplicate of bug 544161
Incorrect use of filenames with special Spanish chars
* You can subscribe to bug 544161 by following this link: https://bugs.launchpad.net/ubuntu/+source/zip/+bug/544161/+subscribe
--
You received this bug notification because you are a member of Debian MC
Packaging Group, which is subscribed to mc in ubuntu.
https://bugs.launchpad.net/bugs/706455
Title:
utf8 filenames in jar files are not displayed correctly in vfs
Status in “mc” package in Ubuntu:
New
Bug description:
Binary package hint: mc
Ubuntu 10.10
GNU Midnight Commander package version: 3:4.7.0.6-1
Expected: to see the utf8 filenames inside a jar file when entering to the jar file (F3, Enter) - testéá.txt
Happened: saw wrong filenames - test+?+?.txt
To reproduce:
- create a file with non-ascii letters in filename:
touch "testéá.txt"
- add the created file to a jar file:
jar -c -M "testéá.txt" > test.jar
- view the utf8 filenames corretly reported by jar:
jar -t < test.jar
but entering into test.jar with mc (enter, F3) will show incorrect filename:
test+?+?.txt
note: other file formats (for example tar) show corret utf8 filenames
the problem seems to be that mc recognizes jar files as zip files, and
opens them with unzip instead of jar. Jar files have utf8 filenames,
while zip files have cp437 charset.
More information about the Pkg-mc-devel
mailing list