From d23d12aa5df49107fc16a38712c45d9b8c823a98 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Sun, 16 Jun 2019 16:21:56 -0700 Subject: [PATCH] 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. --- lisp/gnus/gnus-start.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.39.5