Synch to No Gnus 200511240425.
authoryamaoka <yamaoka>
Thu, 24 Nov 2005 04:26:24 +0000 (04:26 +0000)
committeryamaoka <yamaoka>
Thu, 24 Nov 2005 04:26:24 +0000 (04:26 +0000)
lisp/ChangeLog
lisp/rfc2231.el

index 898e73a..6081093 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-24  Pixel  <pixel@mandriva.com>  (tiny change)
+
+       * rfc2231.el (rfc2231-parse-string): Support non-ascii chars.
+
 2005-11-23  Dave Love  <fx@gnu.org>
 
        Add pop3s, pop3/starttls.
index 33ab116..f07d308 100644 (file)
@@ -127,7 +127,15 @@ The list will be on the form
                       (> c ?\177)) ;; EXTENSION: Support non-ascii chars.
                   (not (memq c stoken)))
              (setq value (buffer-substring
-                          (point) (progn (forward-sexp) (point)))))
+                          (point)
+                          (progn
+                            (forward-sexp)
+                            ;; EXTENSION: Support non-ascii chars.
+                            (while (and (not (eobp))
+                                        (> (char-after) ?\177))
+                              (forward-char 1)
+                              (forward-sexp))
+                            (point)))))
             (t
              (error "Invalid header: %s" string)))
            (if number