]> git.eshelyaron.com Git - emacs.git/commitdiff
(gnus-read-descriptions-file): Decode
authorKenichi Handa <handa@m17n.org>
Sat, 8 Nov 1997 03:09:24 +0000 (03:09 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 8 Nov 1997 03:09:24 +0000 (03:09 +0000)
description if necessary.

lisp/gnus/gnus-start.el

index ad4a437371e71679bd13b8fdb2846fc62548aede..86841b1c0106d903a8c1b3f37213c7f98b99c561 100644 (file)
@@ -2438,8 +2438,14 @@ If FORCE is non-nil, the .newsrc file is read."
            (skip-chars-forward " \t")
            ;; ...  which leads to this line being effectively ignored.
            (when (symbolp group)
-             (set group (buffer-substring
-                         (point) (progn (end-of-line) (point)))))
+             (let ((str (buffer-substring
+                         (point) (progn (end-of-line) (point))))
+                   (coding
+                    (and enable-multibyte-characters
+                         (gnus-mule-get-coding-system (symbol-name group)))))
+               (if coding
+                   (setq str (decode-coding-string str (car coding))))
+               (set group str)))
            (forward-line 1))))
       (gnus-message 5 "Reading descriptions file...done")
       t))))