emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/gnus-decoded f041412 1/7: Decode group names in ne


From: Eric Abrahamsen
Subject: [Emacs-diffs] scratch/gnus-decoded f041412 1/7: Decode group names in newsrc files as raw-text, not utf-8
Date: Fri, 21 Jun 2019 16:55:33 -0400 (EDT)

branch: scratch/gnus-decoded
commit f04141241917af9a8311a55b9f71ac99f78f7c17
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    Decode group names in newsrc files as raw-text, not utf-8
    
    * 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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el
index 5d9c268..090d115 100644
--- a/lisp/gnus/gnus-start.el
+++ b/lisp/gnus/gnus-start.el
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]