From: Eric Abrahamsen Date: Sun, 16 Jun 2019 23:21:56 +0000 (-0700) Subject: Make sure to decode group names read from newsrc files X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d23d12aa5df49107fc16a38712c45d9b8c823a98;p=emacs.git Make sure to decode group names read from newsrc files * lisp/gnus/gnus-start.el (gnus-newsrc-to-gnus-format): The files are written as 'raw-text. --- diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index 0c15065796f..5d9c268bc6d 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el @@ -2517,7 +2517,9 @@ If FORCE is non-nil, the .newsrc file is read." (read buf)) group (if (numberp group) (number-to-string group) - (symbol-name group))) + ;; newsrc files are written as 'raw-text. + (decode-coding-string + (symbol-name group) 'utf-8))) (widen) (cond ;; It's possible that "group" is actually an options line.