unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Christopher M. Miles" <numbchild@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: numbchild@gmail.com, 52480@debbugs.gnu.org
Subject: bug#52480: [SOLVED] Re: bug#52480: 28.0.60; Emacs Zip-Archive open inside image file does not display, just empty buffer
Date: Mon, 20 Dec 2021 13:20:02 +0800	[thread overview]
Message-ID: <PAXPR08MB66401C3588B46010482BABBFA37B9@PAXPR08MB6640.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <83mtkzcans.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1207 bytes --]


Eli Zaretskii <eliz@gnu.org> writes:

>> 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?

I Google searched "macos "unzip" does not support utf-8 encoding". This link
https://itips.krsw.biz/en/mac-error22-invalid-parameter/ has a solution suggestion to use
decomposing software like "The Unarchiver" etc. I tested by decompress archive file, then compress
the extracted directory again. Then the problem is gone. But it's not a prefect solution.

I'm trying to setting the option `archive-zip-extract' to use "7-zip" program.

Thanks very much for helping. 😄

-- 
[ stardiviner ]
       I try to make every word tell the meaning that I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2021-12-20  5:20 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
2021-12-20  5:20                           ` Christopher M. Miles [this message]
2021-12-20 17:03                             ` bug#52480: [SOLVED] " 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=PAXPR08MB66401C3588B46010482BABBFA37B9@PAXPR08MB6640.eurprd08.prod.outlook.com \
    --to=numbchild@gmail.com \
    --cc=52480@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).