Fix quoted name encode/decode issue in draft mode.
commitc15e8ece4f34f10479e17cda19d10b98f6be3ec1
authorKazuhiro Ito <kzhr@d1.dion.ne.jp>
Wed, 7 Feb 2024 09:49:36 +0000 (7 18:49 +0900)
committerKazuhiro Ito <kzhr@d1.dion.ne.jp>
Wed, 7 Feb 2024 09:49:36 +0000 (7 18:49 +0900)
tree9267e4ba339267ab07b082791d7bb5999586506e
parent39132562c5481443a07d20b4de3abd46cfff8241
Fix quoted name encode/decode issue in draft mode.

If there is quoted name which contains white space and non-ascii
character in address list field, such as To: Cc:, it is
mis-decoded while saving and re-editing.  This commit partially
fix the issue.  When field value is not valid, the problem would
still occurs.

* wl/wl-draft.el (wl-draft-save): Use
eword-encode-unstructured-field-body for address list only when
field value is invalid.
wl/wl-draft.el