From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59979 Path: news.gmane.org!not-for-mail From: Matthias Andree Newsgroups: gmane.emacs.gnus.general Subject: Re: wrong charset in spite of proper format Date: Thu, 10 Mar 2005 01:35:28 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110415323 26614 80.91.229.2 (10 Mar 2005 00:42:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2005 00:42:03 +0000 (UTC) Original-X-From: ding-owner+M8520@lists.math.uh.edu Thu Mar 10 01:42:03 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1D9BkO-0003MW-Pl for ding-account@gmane.org; Thu, 10 Mar 2005 01:41:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1D9BeW-0003sj-00; Wed, 09 Mar 2005 18:35:48 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1D9BeP-0003sd-00 for ding@lists.math.uh.edu; Wed, 09 Mar 2005 18:35:41 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1D9BeI-0003kW-Ur for ding@lists.math.uh.edu; Wed, 09 Mar 2005 18:35:35 -0600 Original-Received: from krusty.dt.e-technik.uni-dortmund.de ([129.217.163.1] helo=mail.dt.e-technik.uni-dortmund.de) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1D9BeH-0007dI-00 for ; Thu, 10 Mar 2005 01:35:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 4E64A44024 for ; Thu, 10 Mar 2005 01:35:33 +0100 (CET) Original-Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10738-03 for ; Thu, 10 Mar 2005 01:35:30 +0100 (CET) Original-Received: from m2a2.dyndns.org (pD9FFB097.dip.t-dialin.net [217.255.176.151]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 2EA1244023 for ; Thu, 10 Mar 2005 01:35:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 735F688DB2 for ; Thu, 10 Mar 2005 01:35:29 +0100 (CET) Original-Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25913-06-3 for ; Thu, 10 Mar 2005 01:35:28 +0100 (CET) Original-Received: by merlin.emma.line.org (Postfix, from userid 500) id 6697787C02; Thu, 10 Mar 2005 01:35:28 +0100 (CET) Original-To: ding@gnus.org In-Reply-To: (Reiner Steib's message of "Wed, 09 Mar 2005 16:24:30 +0100") X-PGP-Key: http://home.pages.de/~mandree/keys/GPGKEY.asc User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de X-Spam-Score: -3.9 (---) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8520@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: news.gmane.org gmane.emacs.gnus.general:59979 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59979 Reiner Steib writes: >> What's up here? Does Gnus lack Windows-1251? > > Gnus doesn't provide any charsets, (X)Emacs[1] does. OK. My complaint is that as a result of Emacs 21.SOME_MINOR_RELEASE not providing a particular character set, Gnus display anything else rather than falling back to ASCII (where appropriate), masking the unprintables and stuffing a status line that reads something like "windows-1251 not supported by your emacs, displaying ASCII parts" >> If it supports Windows-1251, why doesn't it see it? > > In Emacs 21.[1-4] you need (codepage-setup 1251) in `~/.gnus.el' or > `~/.emacs'. Or better make that... > > (unless (coding-system-p 'windows-1251) > (codepage-setup 1251)) Insufficient. Calling (define-coding-system-alias 'windows-1251 'cp1251) on top of that works however. This is along the lines Simon Josefsson suggested one and a half years ago WRT Windows-1252. It is a shame that such functionality still isn't enabled in the default No Gnus after such a long time. :-( > [1] More on (X)Emacs, Gnus and charsets (in German): > http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/gnus/draft/ Currently unavailable. -- Matthias Andree