Assume package archive-contents are UTF8-encoded
commit4155619aacae2a225cec7ba9008f15258d30a7e0
authorSteve Purcell <steve@sanityinc.com>
Sun, 19 Apr 2015 16:47:02 +0000 (19 17:47 +0100)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Sun, 19 Apr 2015 16:56:46 +0000 (19 17:56 +0100)
treea30be7e4b8921b6c15891fab900af61ddc406066
parentd35f2f482273a822df695202f4a3bf1a5e473e63
Assume package archive-contents are UTF8-encoded

* lisp/emacs-lisp/package.el (package--read-archive-file):
Set `coding-system-for-read' explicitly to 'utf-8 when reading the
downloaded and cached archive-contents files, so that non-ASCII
characters in package descriptions are displayed correctly in the
`list-packages' menu. (Bug#20231)

Co-authored-by: Steve Purcell <steve@sanityinc.com>
lisp/emacs-lisp/package.el