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,gmane.emacs.gnus.general Subject: Re: gnus should accept UTF8 even if UTF-8 is standard Date: Thu, 16 Oct 2008 13:32:11 +0900 Message-ID: <87myh5w46s.fsf@xemacs.org> References: <87iqruvs19.fsf@jidanni.org> <86od1mj3z2.fsf@lifelogs.com> <86od1lg3xq.fsf@lifelogs.com> <87d4i1iqpq.fsf@marauder.physik.uni-ulm.de> <86k5c9fzm9.fsf@lifelogs.com> <878wsph5xr.fsf@marauder.physik.uni-ulm.de> <86d4i1ft75.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224131140 9134 80.91.229.12 (16 Oct 2008 04:25:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2008 04:25:40 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 16 06:26:39 2008 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 1KqKRZ-0000ko-2P for ged-emacs-devel@m.gmane.org; Thu, 16 Oct 2008 06:26:37 +0200 Original-Received: from localhost ([127.0.0.1]:58720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqKQU-0003Ys-4L for ged-emacs-devel@m.gmane.org; Thu, 16 Oct 2008 00:25:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqKQQ-0003Yn-1S for emacs-devel@gnu.org; Thu, 16 Oct 2008 00:25:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqKQN-0003Yb-R5 for emacs-devel@gnu.org; Thu, 16 Oct 2008 00:25:24 -0400 Original-Received: from [199.232.76.173] (port=59524 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqKQN-0003YY-Mp for emacs-devel@gnu.org; Thu, 16 Oct 2008 00:25:23 -0400 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]:45118) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KqKQN-0001NA-F3 for emacs-devel@gnu.org; Thu, 16 Oct 2008 00:25:23 -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 2414F7FFC; Thu, 16 Oct 2008 13:25:19 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 69D101A2FAE; Thu, 16 Oct 2008 13:32:12 +0900 (JST) In-Reply-To: <86d4i1ft75.fsf@lifelogs.com> 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:104541 gmane.emacs.gnus.general:67589 Archived-At: Ted Zlatanov writes: > RS> Grep finished (matches found) at Wed Oct 15 23:58:55 > > It's a common usage, e.g. in locale names. 'UTF-8 is also common and > should be added. It's intended to be a user convenience for typing to iconv and the like. It was introduced IIRC by glibc, comparing encoding names by stripping out non-alphanumerics and canonicalizing case. However, internally Emacs should use the IANA registered names, and only use aliases where one encoding has multiple names for some reason (are there any?) or where one encoding is implemented as an alias to another (binary and iso-8859-1-unix). I agree that users should be allowed the convenience; this can be done with a `read-mime-charset' or the like, which will determine what the user wants and produce a canonical encoding name. I see no good reason for allowing it to programmers, who will probably spell it "u M-/ 8" in any case. If it's being seen in MIME headers, very likely it's spam. Responsible MUAs will use the names registered with the IANA where available, but spammers tend to disregard RFCs the way they disregard all other civilized usage. Emacs should not emulate them.