bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20010: 24.4; Issue with Unicode characters in package description


From: Thierry Volpiatto
Subject: bug#20010: 24.4; Issue with Unicode characters in package description
Date: Fri, 13 Mar 2015 21:40:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.91 (gnu/linux)

João Guerra <address@hidden> 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 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]