From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#20010: 24.4; Issue with Unicode characters in package description Date: Fri, 13 Mar 2015 21:40:08 +0100 Organization: Emacs Helm Message-ID: <87ioe4skbb.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1426279288 422 80.91.229.3 (13 Mar 2015 20:41:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Mar 2015 20:41:28 +0000 (UTC) To: 20010@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 13 21:41:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YWWON-0001cY-RR for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Mar 2015 21:41:11 +0100 Original-Received: from localhost ([::1]:38590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWWON-00035i-8B for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Mar 2015 16:41:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWWOI-0002yx-BU for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2015 16:41:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWWOF-0001Go-0t for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2015 16:41:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWWOE-0001Gk-U4 for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2015 16:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YWWOE-0004av-EY for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2015 16:41:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Mar 2015 20:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20010 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142627923517590 (code B ref -1); Fri, 13 Mar 2015 20:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Mar 2015 20:40:35 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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/ Original-Lines: 30 Original-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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100457 Archived-At: 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