all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#8731: 24.0.50; smtpmail-send-it encodes encoded message header
@ 2011-05-25  9:31 Katsumi Yamaoka
  2011-05-27  4:58 ` Kenichi Handa
  0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2011-05-25  9:31 UTC (permalink / raw)
  To: 8731, handa

Handa-san,

The rfc2047.el encoder encodes things that look like encoded words
by default.  This prevents encoded words, that a user purposely
puts in a message subject or other, from being broken by a decoder.
Please try this:

(progn
  (pop-to-buffer "*testing*")
  (erase-buffer)
  (insert "Subject: 日本語\n")
  (sit-for 1)
  (mail-encode-header (point-min) (point-max))
  (sit-for 1)
  (mail-encode-header (point-min) (point-max)))

By your recent change in smtpmail.el, this is just what happens
when sending a mail using Gnus now.  Could you revert it?  Or
please let-bind `rfc2047-encode-encoded-words' to nil when running
`mail-encode-header'.

Regards,





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-27  5:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-25  9:31 bug#8731: 24.0.50; smtpmail-send-it encodes encoded message header Katsumi Yamaoka
2011-05-27  4:58 ` Kenichi Handa
2011-05-27  5:21   ` Katsumi Yamaoka

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.