unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: numbchild@gmail.com
Cc: 52480@debbugs.gnu.org
Subject: bug#52480: 28.0.60; Emacs Zip-Archive open inside image file does not display, just empty buffer
Date: Fri, 17 Dec 2021 21:07:51 +0200	[thread overview]
Message-ID: <83mtkzcans.fsf@gnu.org> (raw)
In-Reply-To: <PAXPR08MB6640BDF2F57FC2120C0F4BFBA3789@PAXPR08MB6640.eurprd08.prod.outlook.com> (numbchild@gmail.com)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

> From: "Christopher M. Miles" <numbchild@gmail.com>
> Cc: numbchild@gmail.com, 52480@debbugs.gnu.org
> Date: Sat, 18 Dec 2021 00:52:40 +0800
> 
> > And after you press RET on one of the file names in the ZIP archive,
> > do you see any pertinent messages in the *Messages* buffer?
> 
> I got following error in *Messages* buffer:
> 
> #+begin_example
> caution: filename not matched:  \·\¥\°\Ÿ1-3\ -\ \”\º\¾\·\‡\ -\ 1.jpg

Yes, that's what I see here as well.  And that is the root cause of
the problem, AFAIU.

> Is there a method to solve this problem? How to know the filename coding? And how to let Emacs auto
> decide which coding for filename?

I think utf-8 is the right encoding of the file names, but the unzip
program and/or its interaction with Emacs doesn't work well.  Does
your unzip program support UTF-8 encoded file names?  What happens if
you extract the files from the archive using that unzip program?





  reply	other threads:[~2021-12-17 19:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-14 14:24 bug#52480: 28.0.60; Emacs Zip-Archive open inside image file does not display, just empty buffer Christopher M. Miles
2021-12-14 14:34 ` Eli Zaretskii
     [not found]   ` <PAXPR08MB6640DAF9761F14B32171A010A3769@PAXPR08MB6640.eurprd08.prod.outlook.com>
2021-12-15 13:49     ` Eli Zaretskii
2021-12-16  6:03       ` Christopher M. Miles
2021-12-16  8:17         ` Eli Zaretskii
2021-12-16 16:12           ` Christopher M. Miles
2021-12-16 17:03             ` Eli Zaretskii
2021-12-17  4:02               ` Christopher M. Miles
2021-12-17  8:26                 ` Eli Zaretskii
2021-12-17  9:19                   ` Christopher M. Miles
2021-12-17 12:01                     ` Eli Zaretskii
2021-12-17 16:52                       ` Christopher M. Miles
2021-12-17 19:07                         ` Eli Zaretskii [this message]
2021-12-20  5:20                           ` bug#52480: [SOLVED] " Christopher M. Miles
2021-12-20 17:03                             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mtkzcans.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=52480@debbugs.gnu.org \
    --cc=numbchild@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).