From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60105 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Fixes for nnrss.el (and rfc2047.el) in the v5-10 branch Date: Wed, 06 Apr 2005 17:37:51 +0900 Organization: Emacsen advocacy group Message-ID: References: <87d5uuja1t.fsf@seamus.arnested.dk> <874qg6j7o7.fsf@seamus.arnested.dk> <87zmxyhsjr.fsf@seamus.arnested.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112777297 20902 80.91.229.2 (6 Apr 2005 08:48:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2005 08:48:17 +0000 (UTC) Original-X-From: ding-owner+M8632@lists.math.uh.edu Wed Apr 06 10:48:13 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJ6CS-00028z-P4 for ding-account@gmane.org; Wed, 06 Apr 2005 10:47:48 +0200 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 1DJ639-0006di-00; Wed, 06 Apr 2005 03:38:11 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DJ635-0006dd-00 for ding@lists.math.uh.edu; Wed, 06 Apr 2005 03:38:07 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DJ634-00008O-85 for ding@lists.math.uh.edu; Wed, 06 Apr 2005 03:38:06 -0500 Original-Received: from washington.hostforweb.net ([69.61.11.2]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DJ633-00049h-00 for ; Wed, 06 Apr 2005 10:38:05 +0200 Original-Received: from [127.0.0.1] (helo=localhost) by washington.hostforweb.net with esmtp (Exim 4.44) id 1DJ630-0002Z3-Rs for ding@gnus.org; Wed, 06 Apr 2005 04:38:03 -0400 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/20.7 (gnu/linux) Cancel-Lock: sha1:Vd9mZriIcixPtzAxMyS+y0CTfrE= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60105 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60105 I've committed the changes in both the Gnus trunk and the v5-10 branch. The changes in the v5-10 branch are for only Gnus v5.11, so please don't merge them back into the Gnus trunk. >>>>> In Katsumi Yamaoka wrote: > I'm now working on merging nnrss.el into the v5-10 branch and I > noticed there are some German web sites using the windows-1252 > encoding even if they declare that the encoding is iso-8859-1. I solved it by using windows-1252 if it is available, or making a text/plain article instead of a MIME article for old Emacsen which sometimes caused an error. FYI: you can use the windows-1252 coding system even in Emacs 21 by using ARISAWA Akihiro's codepage-ex.el, which is available at: http://www.nijino.com/ari/emacs/codepage-ex.html I've put the following in my ~/.emacs file. (if (and (not (featurep 'xemacs)) (= emacs-major-version 21) (not (require 'code-pages nil t))) (progn (require 'codepage-ex) (mapc (lambda (cp) (codepage-ex-setup (car cp))) (cp-ex-supported-codepages)) (define-coding-system-alias 'windows-1250 'cp1250) (define-coding-system-alias 'windows-1251 'cp1251) (define-coding-system-alias 'windows-1252 'cp1252) (define-coding-system-alias 'windows-1253 'cp1253) (define-coding-system-alias 'windows-1254 'cp1254) (define-coding-system-alias 'windows-1255 'cp1255) (define-coding-system-alias 'windows-1257 'cp1257))) > I will commit those fixes together with nnrss.el and others. Done.