From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60709 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: "Can't rfc2047-encode" error. Date: Thu, 04 Aug 2005 21:30:19 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1123232692 25243 80.91.229.2 (5 Aug 2005 09:04:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Aug 2005 09:04:52 +0000 (UTC) Original-X-From: ding-owner+M9223=ding+2Daccount=gmane.org@lists.math.uh.edu Fri Aug 05 11:04:39 2005 Return-path: Original-Received: from mail-relay.eunet.no ([193.71.71.242]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E0y47-0004jM-9A for ding-account@gmane.org; Fri, 05 Aug 2005 11:00:33 +0200 Original-Received: from malifon.math.uh.edu (IDENT:mail@malifon.math.uh.edu [129.7.128.13]) by mail-relay.eunet.no (8.13.1/8.13.1/GN) with ESMTP id j74CUbKW032789 for ; Thu, 4 Aug 2005 14:30:38 +0200 (CEST) (envelope-from ding-owner+M9223=ding+2Daccount=gmane.org@lists.math.uh.edu) 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 1E0ers-0001JK-02 for ding-account@gmane.org; Thu, 04 Aug 2005 07:30:36 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1E0ero-0001JC-00 for ding@lists.math.uh.edu; Thu, 04 Aug 2005 07:30:32 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1E0ern-00039L-3a for ding@lists.math.uh.edu; Thu, 04 Aug 2005 07:30:31 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1E0dvh-0002ty-00 for ; Thu, 04 Aug 2005 13:30:29 +0200 Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.50) id 1E0eri-0005Ub-PP for ding@gnus.org; Thu, 04 Aug 2005 07:30:27 -0500 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.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:8IMwqEmRYIyJ2uFOEC+YQlbhTVg= X-Hashcash: 1:20:050804:ding@gnus.org::txOA16XyQlbJtFyR:00003hB5 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:60709 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60709 >>>>> In Maciej Matysiak wrote: > On the 4th of August 2005 at 12:55, Katsumi Yamaoka wro= te: >> (let ((mm-coding-system-priorities '(iso-8859-2))) >> (nnrss-mime-encode-string "=C3=B3")) >> =3D> "=3D?iso-8859-2?Q?=3DF3?=3D" > And what is that "^[-A" before "=C3=B3" in that backtrace? I don't know but... >> The text in question seems to have been modified by the debugger >> or something. > This feed is natively encoded with UTF-8: > >> Aren't you using the Mule-UCS XEmacs package? > Yes, I am. I see. >> + (delete-region (point-min) (point-max))))) > That fixed the problem (I don't see the error anymore), but the message > in RSS group has empty subject. I can live with that :) I found a better solution than that. Here it is: (defadvice mm-find-mime-charset-region (after return-utf-8 activate) "Return `(utf-8)' even if other charsets are detected." (if (memq 'utf-8 ad-return-value) (setq ad-return-value '(utf-8)))) > If you want to debug that further, the RSS feed is available at: > http://allegro.pl//static/rss/55/new1/rss.rss > The problematic item has "item=3D59527061" in its url, you can search for > that string. Thanks. I've gotten the correct contents. Now I suspect there's a bug in the part for XEmacs of the mm-find-mime-charset-region function. (mm-with-multibyte-buffer (insert "Przej=C5=9Bci=C3=B3wka ST ---> VGA - z d=C5=BAwi=C4=99kiem!!!= ") (mm-find-mime-charset-region (point-min) (point-max))) It should return `(utf-8)' but...