From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67582 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: gnus should accept UTF8 even if UTF-8 is standard Date: Thu, 16 Oct 2008 00:03:28 +0200 Message-ID: <878wsph5xr.fsf@marauder.physik.uni-ulm.de> References: <87iqruvs19.fsf@jidanni.org> <86od1mj3z2.fsf@lifelogs.com> <86od1lg3xq.fsf@lifelogs.com> <87d4i1iqpq.fsf@marauder.physik.uni-ulm.de> <86k5c9fzm9.fsf@lifelogs.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224104993 922 80.91.229.12 (15 Oct 2008 21:09:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2008 21:09:53 +0000 (UTC) To: emacs-devel@gnu.org, ding@gnus.org Original-X-From: ding-owner+M16034@lists.math.uh.edu Wed Oct 15 23:10:52 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KqDds-0007uH-1M for ding-account@gmane.org; Wed, 15 Oct 2008 23:10:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KqDai-0000ha-Gl; Wed, 15 Oct 2008 16:07:36 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KqDah-0000hG-3d for ding@lists.math.uh.edu; Wed, 15 Oct 2008 16:07:35 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KqDaV-0003nj-IS for ding@lists.math.uh.edu; Wed, 15 Oct 2008 16:07:35 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KqDaZ-0004L7-00 for ; Wed, 15 Oct 2008 23:07:27 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m9FL7FpH019040; Wed, 15 Oct 2008 23:07:16 +0200 (MEST) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 7C2BF1C7CB; Wed, 15 Oct 2008 23:07:15 +0200 (CEST) X-Face: .*T0'iU(sujq_j9\J>-d4fg;N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Followup-To: emacs-devel@gnu.org, ding@gnus.org In-Reply-To: <86k5c9fzm9.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 15 Oct 2008 14:05:18 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-INFN-TO-Metrics: poseidon 1233; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67582 gmane.emacs.devel:104534 Archived-At: 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. BTW, is the uppercase variant useful? AFAICS, it is the only uppercase variant... --8<---------------cut here---------------start------------->8--- -*- mode: grep; default-directory: ".../emacs/lisp/international/" -*- Grep started at Wed Oct 15 23:58:55 grep -nH -e define-coding-system-alias.*[A-Z] *.el mule-conf.el:1279:(define-coding-system-alias 'UTF8 'utf-8) Grep finished (matches found) at Wed Oct 15 23:58:55 --8<---------------cut here---------------end--------------->8--- > RS> I seem to recall that (define-coding-system-alias 'utf8 'utf-8) might > RS> trigger Gnus into sending articles with "Content-type: text/plain; > RS> charset=utf8" which would be plain wrong [1][2]. But I'm not sure. > > If it does we can fix it (maybe it can prefer the original coding system > before trying its aliases). On a second though, there must be such a check already, since there are plenty of coding-system alias which aren't MIME charsets. > RS> If it becomes a more frequent mistake, we might add (utf8 . utf-8) to > RS> the default value `mm-charset-synonym-alist'. I hesitate to pollute > RS> `mm-charset-synonym-alist' by adding entries for each and every pilot > RS> error. > > It's not a pilot error at this point, How do you know? > the mangled names have been in common usage for years... Not in the context of mail/news. See the little statistics in the above mentioned thread. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/