all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Non-ASCII characters in Subject lines
Date: Sun, 26 Apr 2009 23:32:26 +0900	[thread overview]
Message-ID: <87mya3lc3p.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <83r5zhfax9.fsf@gnu.org>

Eli Zaretskii writes:

 > Is it allowed by the RFCs to have non-ASCII characters in the Subject
 > line of an email message?

The wire format of a header must contain no octets outside of the
range 0-127 inclusive.  More recent versions of the standard (ie, RFC
5322) restrict this further, disallowing most ASCII control
characters.  (IIRC, only TAB, CR, and LF are allowed by RFC 5322.)

 > Rmail currently doesn't decode this part, but maybe it should.

That doesn't make sense; there's nothing decodable there, it's raw
text.  Do you mean that Rmail should try to display a character glyph
rather than an octal escape or the like?

Trying to display should be optional (at least in theory, some
terminals may use some of those characters as control characters).
But it should be available, I guess (Postel Principle).

Note that in my experience almost all such headers are sent by
spammers, and the rest by programming wannabes.  Are you sure you
care?




  parent reply	other threads:[~2009-04-26 14:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-25  7:29 Non-ASCII characters in Subject lines Eli Zaretskii
2009-04-25  8:01 ` Sven Joachim
2009-04-25 10:16   ` Eli Zaretskii
2009-04-25 11:32     ` Sven Joachim
2009-04-25 16:28 ` Stefan Monnier
2009-04-25 17:19   ` Eli Zaretskii
2009-04-26 14:32 ` Stephen J. Turnbull [this message]
2009-04-26 17:41   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mya3lc3p.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.