From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67590 Path: news.gmane.org!not-for-mail From: Eli Zaretskii 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:47:49 +0200 Message-ID: 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1224139794 28212 80.91.229.12 (16 Oct 2008 06:49:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2008 06:49:54 +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 08:50:54 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 1KqMhB-000754-97 for ged-emacs-devel@m.gmane.org; Thu, 16 Oct 2008 08:50:53 +0200 Original-Received: from localhost ([127.0.0.1]:36943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqMg6-0007Ww-B1 for ged-emacs-devel@m.gmane.org; Thu, 16 Oct 2008 02:49:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqMg0-0007Vy-QP for emacs-devel@gnu.org; Thu, 16 Oct 2008 02:49:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqMfz-0007UI-5T for emacs-devel@gnu.org; Thu, 16 Oct 2008 02:49:39 -0400 Original-Received: from [199.232.76.173] (port=54727 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqMfz-0007UC-0B for emacs-devel@gnu.org; Thu, 16 Oct 2008 02:49:39 -0400 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:64635) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KqMfy-0001dQ-5V for emacs-devel@gnu.org; Thu, 16 Oct 2008 02:49:38 -0400 Original-Received: from HOME-C4E4A596F7 ([77.127.24.3]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K8T007MSK9U4630@i_mtaout5.012.net.il> for emacs-devel@gnu.org; Thu, 16 Oct 2008 08:49:07 +0200 (IST) In-reply-to: <86d4i1ft75.fsf@lifelogs.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:104544 gmane.emacs.gnus.general:67590 Archived-At: > From: Ted Zlatanov > Date: Wed, 15 Oct 2008 16:23:58 -0500 > Cc: ding@gnus.org > > On Thu, 16 Oct 2008 00:03:28 +0200 Reiner Steib wrote: > > RS> On Wed, Oct 15 2008, Ted Zlatanov wrote: > >> Reiner Steib wrote: > >>>>>> (define-coding-system-alias 'utf8 'utf-8) > >>>>>> (define-coding-system-alias 'UTF8 'utf-8) > KH> I agree that defining those aliases causes no problem. > > RS> BTW, is the uppercase variant useful? AFAICS, it is the only > RS> uppercase variant... > RS> -*- mode: grep; default-directory: ".../emacs/lisp/international/" -*- > RS> Grep started at Wed Oct 15 23:58:55 > > RS> grep -nH -e define-coding-system-alias.*[A-Z] *.el > RS> mule-conf.el:1279:(define-coding-system-alias 'UTF8 'utf-8) > > 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 common usage, allright, but it need not be added, because code that gleans a coding-system from file metadata and email messages should always downcase the encoding before intern-ing it. If some code doesn't downcase, that's a bug that needs to be fixed.