[Top][All Lists]

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

Non-ASCII characters in Subject lines

From: Stephen J. Turnbull
Subject: Non-ASCII characters in Subject lines
Date: Sun, 26 Apr 2009 23:32:26 +0900

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

reply via email to

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