]> git.eshelyaron.com Git - emacs.git/commitdiff
Decode group names in newsrc files as raw-text, not utf-8
authorEric Abrahamsen <eric@ericabrahamsen.net>
Mon, 17 Jun 2019 15:58:20 +0000 (08:58 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Mon, 17 Jun 2019 15:58:20 +0000 (08:58 -0700)
* lisp/gnus/gnus-start.el (gnus-newsrc-to-gnus-format): They're
  written as 'raw-text, like the comment says.

lisp/gnus/gnus-start.el

index 5d9c268bc6d9b818daa26c6988db5eb6da6a6fae..090d1154363737e5a5473dcd850950941a17bd86 100644 (file)
@@ -2519,7 +2519,7 @@ If FORCE is non-nil, the .newsrc file is read."
                      (number-to-string group)
                    ;; newsrc files are written as 'raw-text.
                    (decode-coding-string
-                    (symbol-name group) 'utf-8)))
+                    (symbol-name group) 'raw-text)))
       (widen)
       (cond
        ;; It's possible that "group" is actually an options line.