GNU bug report logs -
#20010
24.4; Issue with Unicode characters in package description
Previous Next
Reported by: João Guerra <joca.bt <at> gmail.com>
Date: Thu, 5 Mar 2015 20:46:02 UTC
Severity: normal
Merged with 20231
Found in versions 24.4, 25.0.50
Done: Artur Malabarba <bruce.connor.am <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
João Guerra <joca.bt <at> gmail.com> 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
This bug report was last modified 10 years and 87 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.