* eword-decode.el (eword-analyze-quoted-string): Check
authorakr <akr>
Fri, 22 May 1998 22:14:35 +0000 (22:14 +0000)
committerakr <akr>
Fri, 22 May 1998 22:14:35 +0000 (22:14 +0000)
`eword-decode-quoted-encoded-word'.

ChangeLog
eword-decode.el

index a488c4e..04fca1c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-05-22  Tanaka Akira  <akr@jaist.ac.jp>
+
+       * eword-decode.el (eword-analyze-quoted-string): Check
+       `eword-decode-quoted-encoded-word'.
+
 1998-05-14  Tanaka Akira  <akr@jaist.ac.jp>
 
        * eword-decode.el (eword-analyze-comment): Call `std11-unfold-string'.
index a8f34b5..31f9a78 100644 (file)
@@ -579,11 +579,15 @@ be the result."
   (let ((p (std11-check-enclosure string ?\" ?\")))
     (if p
        (cons (cons 'quoted-string
-                   (eword-decode-quoted-string
-                     (substring string 0 p)
-                     default-mime-charset))
-             (substring string p))
-      )))
+                   (if eword-decode-quoted-encoded-word
+                       (eword-decode-quoted-string
+                        (substring string 0 p)
+                        default-mime-charset)
+                     (decode-mime-charset-string
+                      (std11-strip-quoted-pair (substring string 0 p))
+                      default-mime-charset)))
+             (substring string p)))
+      ))
 
 (defun eword-analyze-domain-literal (string &optional must-unfold)
   (std11-analyze-domain-literal string))