From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov 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 08:01:34 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86vdvselsh.fsf@lifelogs.com> 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 1224162134 4655 80.91.229.12 (16 Oct 2008 13:02:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2008 13:02:14 +0000 (UTC) Cc: ding@gnus.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 16 15:03:15 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 1KqSVS-00071E-PL for ged-emacs-devel@m.gmane.org; Thu, 16 Oct 2008 15:03:11 +0200 Original-Received: from localhost ([127.0.0.1]:38821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqSUN-0000LX-Eu for ged-emacs-devel@m.gmane.org; Thu, 16 Oct 2008 09:02:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqSUF-0000Kh-JQ for emacs-devel@gnu.org; Thu, 16 Oct 2008 09:01:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqSUE-0000Jx-Cq for emacs-devel@gnu.org; Thu, 16 Oct 2008 09:01:54 -0400 Original-Received: from [199.232.76.173] (port=58512 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqSUE-0000Jj-4r for emacs-devel@gnu.org; Thu, 16 Oct 2008 09:01:54 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:58178 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KqSUD-0004J4-0q for emacs-devel@gnu.org; Thu, 16 Oct 2008 09:01:53 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KqSU2-0002sX-Cj for emacs-devel@gnu.org; Thu, 16 Oct 2008 13:01:42 +0000 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Oct 2008 13:01:42 +0000 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Oct 2008 13:01:42 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:4X29qPdVhWJLmTt2iwOh/vsWmIg= 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:104551 gmane.emacs.gnus.general:67593 Archived-At: On Thu, 16 Oct 2008 08:47:49 +0200 Eli Zaretskii wrote: >> From: Ted Zlatanov >> It's a common usage, e.g. in locale names. 'UTF-8 is also common and >> should be added. EZ> It's common usage, allright, but it need not be added, because code EZ> that gleans a coding-system from file metadata and email messages EZ> should always downcase the encoding before intern-ing it. If some EZ> code doesn't downcase, that's a bug that needs to be fixed. On Thu, 16 Oct 2008 13:32:11 +0900 "Stephen J. Turnbull" wrote: SJT> It's intended to be a user convenience for typing to iconv and the SJT> like. It was introduced IIRC by glibc, comparing encoding names by SJT> stripping out non-alphanumerics and canonicalizing case. However, SJT> internally Emacs should use the IANA registered names, and only use SJT> aliases where one encoding has multiple names for some reason (are SJT> there any?) or where one encoding is implemented as an alias to SJT> another (binary and iso-8859-1-unix). SJT> I agree that users should be allowed the convenience; this can be done SJT> with a `read-mime-charset' or the like, which will determine what the SJT> user wants and produce a canonical encoding name. I see no good SJT> reason for allowing it to programmers, who will probably spell it "u SJT> M-/ 8" in any case. If it's being seen in MIME headers, very SJT> likely it's spam. Responsible MUAs will use the names registered with SJT> the IANA where available, but spammers tend to disregard RFCs the way SJT> they disregard all other civilized usage. Emacs should not emulate SJT> them. On Wed, 15 Oct 2008 22:41:29 -0400 Stefan Monnier wrote: >> BTW, is the uppercase variant useful? AFAICS, it is the only >> uppercase variant... SM> I think neither variant is deserved. SM> Such aliases aren't much use and they become annoying duplicates when SM> listing coding systems. I much prefer to add such things punctually SM> where they're needed. E.g. in mm-charset-synonym-alist. OK, I've removed the aliases. Thanks, everyone, for the helpful information. Ted