bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bad rfc2047 encoding


From: Dave Love
Subject: bad rfc2047 encoding
Date: 15 Aug 2002 23:00:41 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

In Emacs 21.2, I see

(with-temp-buffer
  (insert "To: address@hidden (Kai Großjohann)
")
  (rfc2047-encode-message-header)
  (buffer-string))
  => "To: address@hidden (Kai =?iso-8859-1?q?Gro=DFjohann)?=
"

which is an invalid encoding according to §5 of rfc2047, and Exim
refuses to deliver the result:

  address@hidden (Kai =?iso-8859-1?q?Gro=DFjohann)?=: malformed address: ?= may 
not follow address@hidden (Kai =?iso-8859-1?q?Gro=DFjohann)

I'm surprised this hasn't been noticed and fixed before, but I think
it needs fixing for 21.3 by someone more familiar with the standards
and the logic in rfc2047.el.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]