From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Non-ASCII characters in Subject lines Date: Sun, 26 Apr 2009 23:32:26 +0900 Message-ID: <87mya3lc3p.fsf@uwakimon.sk.tsukuba.ac.jp> References: <83r5zhfax9.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1240827319 8907 80.91.229.12 (27 Apr 2009 10:15:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2009 10:15:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 27 12:15:11 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ly5IG-0002M2-Lc for ged-emacs-devel@m.gmane.org; Sun, 26 Apr 2009 16:25:20 +0200 Original-Received: from localhost ([127.0.0.1]:38080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly5Gr-0005Wj-1q for ged-emacs-devel@m.gmane.org; Sun, 26 Apr 2009 10:23:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ly5Gm-0005We-QO for emacs-devel@gnu.org; Sun, 26 Apr 2009 10:23:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ly5Gh-0005WQ-AF for emacs-devel@gnu.org; Sun, 26 Apr 2009 10:23:47 -0400 Original-Received: from [199.232.76.173] (port=56561 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly5Gh-0005WN-6u for emacs-devel@gnu.org; Sun, 26 Apr 2009 10:23:43 -0400 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]:44436) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ly5Ge-00079b-TU; Sun, 26 Apr 2009 10:23:41 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id 90556820F; Sun, 26 Apr 2009 23:23:36 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 8744C1A279E; Sun, 26 Apr 2009 23:32:26 +0900 (JST) In-Reply-To: <83r5zhfax9.fsf@gnu.org> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta28) "fuki" 83e35df20028+ XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110480 Archived-At: 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?