From unknown Sat Aug 09 04:47:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#20010 <20010@debbugs.gnu.org> To: bug#20010 <20010@debbugs.gnu.org> Subject: Status: 24.4; Issue with Unicode characters in package description Reply-To: bug#20010 <20010@debbugs.gnu.org> Date: Sat, 09 Aug 2025 11:47:46 +0000 retitle 20010 24.4; Issue with Unicode characters in package description reassign 20010 emacs submitter 20010 Jo=C3=A3o Guerra severity 20010 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 15:45:05 2015 Received: (at submit) by debbugs.gnu.org; 5 Mar 2015 20:45:05 +0000 Received: from localhost ([127.0.0.1]:36463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTcdk-0005mP-54 for submit@debbugs.gnu.org; Thu, 05 Mar 2015 15:45:05 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40505) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTcdg-0005la-0t for submit@debbugs.gnu.org; Thu, 05 Mar 2015 15:45:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTcdZ-0006UL-0I for submit@debbugs.gnu.org; Thu, 05 Mar 2015 15:44:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50, FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcdY-0006UD-Hb for submit@debbugs.gnu.org; Thu, 05 Mar 2015 15:44:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcdW-0000ba-Mo for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:44:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTcdS-0006Sj-Uk for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:44:50 -0500 Received: from mail-ie0-x234.google.com ([2607:f8b0:4001:c03::234]:41269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcdS-0006Sa-Km for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:44:46 -0500 Received: by iecrd18 with SMTP id rd18so79964583iec.8 for ; Thu, 05 Mar 2015 12:44:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Ir7aEbpgpoKWG9j4obknLL4Nd7UfhLqLXOlbxH2vUeY=; b=JOqq5GYrDEWAZFD6uwXhmM0PcQe+QX8OazRV1NxXpfXtPcYG8THVZRUOp5jgPfumU3 spP90K2hBcsL6zrDL/m9WsSNccItOc+SvT5x1qSuy/jA38z/cC0LsIwOkR7syelcgPHl KqFPU2phLf2orCIpOzEMdfMX+HHSaj2vpVpXr1LKAMC/FQY4k1bEvu6fIQHjT0oCuV67 k97S+IhY2MfgIPMBt9OucVNShBrzcpqMakrJAwaj2KAElxLsWNgou26kyYaixjO8+3ZT pZHO+EcWrmYpwFbgufDLIzEbLaIVvbCoyeoJj7GB6sbCviCj5B7hxhF53abmL5BbkY+G H6dw== X-Received: by 10.107.11.17 with SMTP id v17mr22617803ioi.74.1425588285614; Thu, 05 Mar 2015 12:44:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.54.78 with HTTP; Thu, 5 Mar 2015 12:44:05 -0800 (PST) From: =?UTF-8?B?Sm/Do28gR3VlcnJh?= Date: Thu, 5 Mar 2015 20:44:05 +0000 Message-ID: Subject: 24.4; Issue with Unicode characters in package description To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a1147d2d05c348c051090a371 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) --001a1147d2d05c348c051090a371 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Packages with Unicode characters in their description mess with the refreshing of the package archives. A popup buffer will always be shown in such situations, asking for the proper coding system. This buffer should be Unicode by default to avoid inconvenient situations like these. For example, just by starting Emacs as normally but using the following .emacs.d/init.el: (require 'package) (setq package-archives '(("melpa" . "http://melpa.org/packages/") ("gnu" . "http://elpa.gnu.org/packages/"))) (package-refresh-contents) A popup buffer will always be shown, stating: These default coding systems were tried to encode text in the buffer ` *temp*': (iso-latin-1-dos (3420 . 37326) (3421 . 40165)) However, each of them encountered characters it couldn't encode: iso-latin-1-dos cannot encode these: =E9=87=8E =E9=B3=A5 Click on a character (or switch to this window by `C-x o' and select the characters by RET) to jump to the place it appears, where `C-u C-x =3D' will give information about it. Select one of the safe coding systems listed below, or cancel the writing with C-g and edit the buffer to remove or modify the problematic characters, or specify any other coding system (and risk losing the problematic characters). utf-8 euc-jis-2004 euc-jp iso-2022-jp-2004 gb18030 utf-7 utf-16 utf-16be-with-signature utf-16le-with-signature utf-16be utf-16le iso-2022-7bit utf-8-auto utf-8-with-signature eucjp-ms utf-8-hfs japanese-shift-jis-2004 japanese-iso-7bit-1978-irv utf-7-imap utf-8-emacs prefer-utf-8 Another popup windows pointing to the cause will also be shown: (yatex . [(20150118 1600) nil "Yet Another tex-mode for emacs //=E9=87=8E= =E9=B3=A5//" tar nil]) In GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.3.9600 Configured using: `configure --prefix=3D/c/usr' Important settings: value of $LANG: PTG locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x k C-x k C-x k C-x k C-x k C-x k M-x r e p o r t - e m a c s - b u g Recent messages: Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail help-mode mm-archive message format-spec rfc822 mml easymenu mml-sec mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils network-stream starttls url-http tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util help-fns mail-prsvr password-cache url-vars epg package epg-config time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 92381 16943) (symbols 32 22657 0) (miscs 32 40 202) (strings 16 21255 14970) (string-bytes 1 521369) (vectors 8 18291) (vector-slots 4 1126131 63824) (floats 8 71 297) (intervals 28 532 1923) (buffers 508 14)) --001a1147d2d05c348c051090a371 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Packages with Unicode characters in their description= mess with the
refreshing of the package archives. A popup bu= ffer will always be shown
in such situations, asking for the prop= er coding system. This buffer
should be Unicode by default to avo= id inconvenient situations like these.

For example= , just by starting Emacs as normally but using the following
.ema= cs.d/init.el:

(require 'package)
(se= tq package-archives '(("melpa" . "http://melpa.org/packages/")
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0("gnu" . "ht= tp://elpa.gnu.org/packages/")))
(package-refresh-content= s)

A popup buffer will always be shown, stating:

These default coding systems were tried to encode t= ext
in the buffer ` *temp*':
=C2=A0 (iso-latin-1-do= s (3420 . 37326) (3421 . 40165))
However, each of them encountere= d characters it couldn't encode:
=C2=A0 iso-latin-1-dos canno= t encode these: =E9=87=8E =E9=B3=A5

Click on a cha= racter (or switch to this window by `C-x o'
and select the ch= aracters by RET) to jump to the place it appears,
where `C-u C-x = =3D' will give information about it.

Select on= e of the safe coding systems listed below,
or cancel the writing = with C-g and edit the buffer
=C2=A0 =C2=A0to remove or modify the= problematic characters,
or specify any other coding system (and = risk losing
=C2=A0 =C2=A0the problematic characters).
<= br>
=C2=A0 utf-8 euc-jis-2004 euc-jp iso-2022-jp-2004 gb18030 utf= -7 utf-16
=C2=A0 utf-16be-with-signature utf-16le-with-signature = utf-16be utf-16le
=C2=A0 iso-2022-7bit utf-8-auto utf-8-with-sign= ature eucjp-ms utf-8-hfs
=C2=A0 japanese-shift-jis-2004 japanese-= iso-7bit-1978-irv utf-7-imap
=C2=A0 utf-8-emacs prefer-utf-8

Another popup windows pointing to the cause will also = be shown:

(yatex . [(20150118 1600) nil "Yet = Another tex-mode for emacs //=E9=87=8E=E9=B3=A5//" tar nil])


In GNU Emacs 24.4.1 (i686-pc-mingw32)
<= div>=C2=A0of 2014-10-24 on LEG570
Windowing system distributor `M= icrosoft Corp.', version 6.3.9600
Configured using:
=C2=A0`configure --prefix=3D/c/usr'

Important= settings:
=C2=A0 value of $LANG: PTG
=C2=A0 locale-cod= ing-system: cp1252

Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0 tooltip-mode= : t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-m= ode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t<= /div>
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock= -mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-m= ode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encr= yption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 l= ine-number-mode: t
=C2=A0 transient-mark-mode: t

Recent input:
<help-echo> <escape> <escap= e> <escape> <escape> <escape>=C2=A0
<esca= pe> <escape> <escape> <escape> <escape> <esca= pe>=C2=A0
C-x k C-x k <return> C-x k <return> C-x = k <return>=C2=A0
C-x k <return> C-x k <return> = M-x r e p o r t - e m=C2=A0
a c s - b u g <return>

Recent messages:

Load-path shadow= s:
None found.

Features:
(shad= ow sort mail-extr emacsbug sendmail help-mode mm-archive message
= format-spec rfc822 mml easymenu mml-sec mailabbrev gmm-utils mailheader
mm-decode mm-bodies mm-encode mail-utils network-stream starttls
url-http tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw
url-cache url-auth url url-proxy url-privacy url-expand url-methods=
url-history url-cookie url-domsuf url-util mailcap url-handlers<= /div>
url-parse auth-source eieio byte-opt bytecomp byte-compile cconv<= /div>
eieio-core gnus-util mm-util help-fns mail-prsvr password-cache u= rl-vars
epg package epg-config time-date tooltip electric uniquif= y ediff-hook
vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-= common-fns
disp-table w32-win w32-vars tool-bar dnd fontset image= regexp-opt fringe
tabulated-list newcomment lisp-mode prog-mode = register page menu-bar
rfn-eshadow timer select scroll-bar mouse = jit-lock font-lock syntax
facemenu font-core frame cham georgian = utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean = japanese hebrew greek romanian slovak
czech european ethiopic ind= ian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simpl= e abbrev minibuffer nadvice loaddefs button
faces cus-face macroe= xp files text-properties overlay sha1 md5 base64
format env code-= pages mule custom widget hashtable-print-readable
backquote make-= network-process w32notify w32 multi-tty emacs)

Mem= ory information:
((conses 8 92381 16943)
=C2=A0(symbols= 32 22657 0)
=C2=A0(miscs 32 40 202)
=C2=A0(strings 16 = 21255 14970)
=C2=A0(string-bytes 1 521369)
=C2=A0(vecto= rs 8 18291)
=C2=A0(vector-slots 4 1126131 63824)
=C2=A0= (floats 8 71 297)
=C2=A0(intervals 28 532 1923)
=C2=A0(= buffers 508 14))

--001a1147d2d05c348c051090a371-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 13 16:40:35 2015 Received: (at submit) by debbugs.gnu.org; 13 Mar 2015 20:40:35 +0000 Received: from localhost ([127.0.0.1]:45458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YWWNl-0004Za-Mm for submit@debbugs.gnu.org; Fri, 13 Mar 2015 16:40:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59861) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YWWNj-0004ZQ-Ps for submit@debbugs.gnu.org; Fri, 13 Mar 2015 16:40:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWWNi-00013h-FU for submit@debbugs.gnu.org; Fri, 13 Mar 2015 16:40:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWWNi-00013P-C3 for submit@debbugs.gnu.org; Fri, 13 Mar 2015 16:40:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWWNh-00024t-E3 for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2015 16:40:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWWNe-0000to-7m for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2015 16:40:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:39513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWWNe-0000qc-21 for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2015 16:40:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YWWNc-0000nT-3c for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2015 21:40:24 +0100 Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Mar 2015 21:40:24 +0100 Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Mar 2015 21:40:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Thierry Volpiatto Subject: Re: bug#20010: 24.4; Issue with Unicode characters in package description Date: Fri, 13 Mar 2015 21:40:08 +0100 Organization: Emacs Helm Lines: 30 Message-ID: <87ioe4skbb.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.91 (gnu/linux) Cancel-Lock: sha1:OBWyiabpHWCxbvnYKCxuW7Zm7ss= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) João Guerra writes: > Packages with Unicode characters in their description mess with the > refreshing of the package archives. A popup buffer will always be shown > in such situations, asking for the proper coding system. This buffer > should be Unicode by default to avoid inconvenient situations like these. > > For example, just by starting Emacs as normally but using the following > .emacs.d/init.el: > > (require 'package) > (setq package-archives '(("melpa" . "http://melpa.org/packages/") > ("gnu" . "http://elpa.gnu.org/packages/"))) > (package-refresh-contents) > > A popup buffer will always be shown, stating: > > These default coding systems were tried to encode text > in the buffer ` *temp*': > (iso-latin-1-dos (3420 . 37326) (3421 . 40165)) > However, each of them encountered characters it couldn't encode: > iso-latin-1-dos cannot encode these: 野 鳥 Easy to reproduce on Windows with just M-x list-packages. let-binding `coding-system-for-write' to "utf-8" Fix the problem. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 15 14:25:35 2015 Received: (at 20010) by debbugs.gnu.org; 15 Mar 2015 18:25:35 +0000 Received: from localhost ([127.0.0.1]:47359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YXDED-0006xY-UY for submit@debbugs.gnu.org; Sun, 15 Mar 2015 14:25:34 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:22174) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YXDE9-0006xO-SJ for 20010@debbugs.gnu.org; Sun, 15 Mar 2015 14:25:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqcLAPOG1lQXW5EB/2dsb2JhbABbgwaDX4VTwGsCgQ5DAQEBAQEBfIQNAQV5EAsNJxIUGDEKiDbOIwEBAQEGAgEfj3gHhCoFlH0FihuMGiKBfx+BbCKCcwEBAQ X-IPAS-Result: AqcLAPOG1lQXW5EB/2dsb2JhbABbgwaDX4VTwGsCgQ5DAQEBAQEBfIQNAQV5EAsNJxIUGDEKiDbOIwEBAQEGAgEfj3gHhCoFlH0FihuMGiKBfx+BbCKCcwEBAQ X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="113619821" Received: from unknown (HELO pastel.home) ([23.91.145.1]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 15 Mar 2015 14:25:28 -0400 Received: by pastel.home (Postfix, from userid 20848) id 7A32AB07; Sun, 15 Mar 2015 14:25:28 -0400 (EDT) From: Stefan Monnier To: =?windows-1252?Q?Jo=E3o?= Guerra Subject: Re: bug#20010: 24.4; Issue with Unicode characters in package description Message-ID: References: Date: Sun, 15 Mar 2015 14:25:28 -0400 In-Reply-To: (=?windows-1252?Q?=22Jo=E3o?= Guerra"'s message of "Thu, 5 Mar 2015 20:44:05 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 20010 Cc: 20010@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > (package-refresh-contents) > A popup buffer will always be shown, stating: > These default coding systems were tried to encode text > in the buffer ` *temp*': Indeed, we have a problem in package.el because we use the same routine in two cases: one where we just want to transfer bytes (typically, to download an package or the `archive-contents' file), and the other where we want to see actual characters (when we fetch the *-readme.txt). I installed the following patch which should at lease fix the immediate problem you're seeing, tho there may still be corner cases where the bug will appear. Stefan diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el index 23006e1..ff3eafd 100644 --- a/lisp/url/url-handlers.el +++ b/lisp/url/url-handlers.el @@ -334,8 +334,13 @@ They count bytes from the beginning of the body." (unless (cadr size-and-charset) ;; If the headers don't specify any particular charset, use the ;; usual heuristic/rules that we apply to files. - (decode-coding-inserted-region start (point) url visit beg end replace)) - (list url (car size-and-charset)))))) + (decode-coding-inserted-region start (point) url + visit beg end replace)) + (let ((inserted (car size-and-charset))) + (when (fboundp 'after-insert-file-set-coding) + (let ((insval (after-insert-file-set-coding inserted visit))) + (if insval (setq inserted insval)))) + (list url inserted)))))) (put 'insert-file-contents 'url-file-handlers 'url-insert-file-contents) From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 18:19:13 2015 Received: (at control) by debbugs.gnu.org; 30 Mar 2015 22:19:13 +0000 Received: from localhost ([127.0.0.1]:40736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yci1Z-0004am-Et for submit@debbugs.gnu.org; Mon, 30 Mar 2015 18:19:13 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:49162 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yci1Y-0004af-6a for control@debbugs.gnu.org; Mon, 30 Mar 2015 18:19:12 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Yci1X-0008HC-He for control@debbugs.gnu.org; Mon, 30 Mar 2015 18:19:11 -0400 Date: Mon, 30 Mar 2015 18:19:11 -0400 Message-Id: Subject: control message for bug 20231 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) merge 20010 20231 From unknown Sat Aug 09 04:47:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 18 May 2015 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator