all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: awrhygty@outlook.com
Cc: 65299@debbugs.gnu.org
Subject: bug#65299: 29.1; ZIP archived WEBP images can not be displayed correctly
Date: Tue, 15 Aug 2023 14:05:42 +0300	[thread overview]
Message-ID: <83wmxwa7ll.fsf@gnu.org> (raw)
In-Reply-To: <TYZPR01MB3920D8B90C388D7F4B5B4B5EC314A@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (awrhygty@outlook.com)

> From: awrhygty@outlook.com
> Date: Tue, 15 Aug 2023 13:02:43 +0900
> 
> 
> Opening a entry for a WEBP image in a ZIP archive,
> the subfile buffer is multibyte and the image is not displayed or
> displayed collapsed.

You need to say

  C-x RET c no-conversion RET RET

to open such files from a zip archive.

Determining the right coding system when opening files from ZIP
archives is a tricky issue, and frequently needs forcing a certain
encoding manually.  I don't know how to do better in general, what
with all the possible sources of the files and their encodings.  A Zip
archive can include files from Unix systems or from Windows, and we
unzip by running the 'unzip' program.  So the usual defaults for
guessing the encoding don't really work.





  reply	other threads:[~2023-08-15 11:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-15  4:02 bug#65299: 29.1; ZIP archived WEBP images can not be displayed correctly awrhygty
2023-08-15 11:05 ` Eli Zaretskii [this message]
2023-08-15 13:05   ` awrhygty
2023-08-15 14:13     ` Eli Zaretskii
2023-09-01 20:24       ` Stefan Kangas
2023-09-02  6:20         ` Eli Zaretskii
2023-09-02 16:34           ` Stefan Kangas

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

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

  git send-email \
    --in-reply-to=83wmxwa7ll.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=65299@debbugs.gnu.org \
    --cc=awrhygty@outlook.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.