From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65299: 29.1; ZIP archived WEBP images can not be displayed correctly Date: Tue, 15 Aug 2023 14:05:42 +0300 Message-ID: <83wmxwa7ll.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18830"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65299@debbugs.gnu.org To: awrhygty@outlook.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 15 13:06:21 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qVrsT-0004jE-8r for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Aug 2023 13:06:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVrsB-00031L-VK; Tue, 15 Aug 2023 07:06:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVrsA-00030w-Nc for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 07:06:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qVrsA-0007lZ-FF for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 07:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVrsA-0008JC-65 for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 07:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Aug 2023 11:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65299 X-GNU-PR-Package: emacs Original-Received: via spool by 65299-submit@debbugs.gnu.org id=B65299.169209754631912 (code B ref 65299); Tue, 15 Aug 2023 11:06:02 +0000 Original-Received: (at 65299) by debbugs.gnu.org; 15 Aug 2023 11:05:46 +0000 Original-Received: from localhost ([127.0.0.1]:35060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVrrt-0008Ie-VD for submit@debbugs.gnu.org; Tue, 15 Aug 2023 07:05:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVrrs-0008IO-KG for 65299@debbugs.gnu.org; Tue, 15 Aug 2023 07:05:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVrrn-0007g2-68; Tue, 15 Aug 2023 07:05:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=o8k3R90+mHtDwR6qczhfhwdsQxXS+SjP0ChnuFbckHY=; b=IiFwND/whZ8m Foxb32Mt/GLw/sixHQ7o7HlIiDPchlcKp0ldFIFFID9xpz7oBE9m+O1VoNijGTH86irvUF+ppXdjs MDJ6rR4ywlBZnmB3rEul2Ll8MLgX2hcaDwEi5LCA1w2lh/wkb0ct8LyYlfOwKeuIL8BHhwjeIQoG7 KT7db0MO137BHQOhvZ4r3eKaosgZvrABx1MLJALUCCPkbUq0ShAIIuKO5O8YQDXkU4UTcjTXSADKV u2Dn+UO1/2twHFy7QzZ17AX0XPT8iu46JRp/BNiOe6NKxf3a8wLlL1ZfiFB3hdvwCSyQlDCS7U0Zb frIq8nxgj+IZMgaC/beUVg==; In-Reply-To: (awrhygty@outlook.com) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267475 Archived-At: > 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.