GNU bug report logs -
#78290
dired-view-file not ready for non-ASCII subfile names
Previous Next
Reported by: Dan Jacobson <jidanni <at> jidanni.org>
Date: Wed, 7 May 2025 03:43:01 UTC
Severity: wishlist
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 78290 <at> debbugs.gnu.org (full text, mbox):
severity 78290 wishlist
thanks
> From: Dan Jacobson <jidanni <at> jidanni.org>
> Date: Wed, 07 May 2025 11:41:54 +0800
>
> Just the other day I hit
> v runs the command dired-view-file (found in dired-mode-map)
> upon the attached street_name_groups.kmz file.
>
> And I exclaimed (not out loud, but to myself, (under my breath)):
> "Impossible. How could two files have the same name?"
>
> M Mode Size Date&time Filename
> - ---------- ---- -------------------- ----------------
> -rw-rw-rw- 549 7-May-2025 03:25:38 doc.kml
> drwxrwxrwx 0 7-May-2025 03:25:38 layers/
> -rw-rw-rw- 919 7-May-2025 03:25:38 layers/_SELECT.kml
> -rw-rw-rw- 1850 7-May-2025 03:25:38 layers/_SELECT.kml
> - ---------- ---- -------------------- ----------------
> 3318 4 files
>
> Ah, they don't.
> $ lsar street_name_groups.kmz
> street_name_groups.kmz: Zip
> doc.kml
> layers/
> layers/安順_SELECT.kml
> layers/崇德_SELECT.kml
Emacs' arc-mode.el currently doesn't support the Unicode Path Extra
Field extension of the ZIP format, so we can only display the file
name in the "DOS-compatible file name" field, which filters out
characters which codepage 437 couldn't encode. That's what you see.
Patches welcome to add support for this feature.
This bug report was last modified 14 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.