From: teranisi Date: Mon, 21 Mar 2005 01:09:43 +0000 (+0000) Subject: (elmo-nntp-create-msgdb-from-overview-string): Decode X-Git-Tag: wl-2_15_3~110 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=0c2244f42c2b6bc89d1e5199e74c0526512413ca;p=elisp%2Fwanderlust.git (elmo-nntp-create-msgdb-from-overview-string): Decode encoded words in `from' and `subject' field. --- diff --git a/elmo/ChangeLog b/elmo/ChangeLog index 439aa3e..4093c53 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,3 +1,8 @@ +2005-03-21 Yuuichi Teranishi + + * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode + encoded words in `from' and `subject' field. + 2005-03-20 Hiroya Murata * modb.el (elmo-msgdb-message-field): Add argument `type'. diff --git a/elmo/elmo-nntp.el b/elmo/elmo-nntp.el index f23a9dd..355e593 100644 --- a/elmo/elmo-nntp.el +++ b/elmo/elmo-nntp.el @@ -753,10 +753,14 @@ Don't cache if nil.") :number num :references (elmo-msgdb-get-last-message-id (aref ov-entity 5)) - :from (elmo-delete-char ?\" - (or (aref ov-entity 2) - elmo-no-from)) - :subject (or (aref ov-entity 1) + :from (elmo-with-enable-multibyte + (eword-decode-string + (elmo-delete-char ?\" + (or (aref ov-entity 2) + elmo-no-from)))) + :subject (or (elmo-with-enable-multibyte + (eword-decode-string + (aref ov-entity 1))) elmo-no-subject) :date (aref ov-entity 3) :size (string-to-int (aref ov-entity 6))))