diff options
author | Eric Abrahamsen <eric@ericabrahamsen.net> | 2019-06-16 16:21:56 -0700 |
---|---|---|
committer | Eric Abrahamsen <eric@ericabrahamsen.net> | 2019-06-16 16:21:56 -0700 |
commit | d23d12aa5df49107fc16a38712c45d9b8c823a98 (patch) | |
tree | 622db8d8d152ca16bb403924cf9557444dc82437 | |
parent | f121d2494c30eb553c28aa7bf15b2463f586397a (diff) | |
download | emacs-d23d12aa5df49107fc16a38712c45d9b8c823a98.tar.gz |
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.
-rw-r--r-- | lisp/gnus/gnus-start.el | 4 |
1 files changed, 3 insertions, 1 deletions
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. |