From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65074 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Bj=F8rn_Mork?= Newsgroups: gmane.emacs.gnus.general Subject: Re: (Re-)coding problems forwarding calendar attachment Date: Thu, 23 Aug 2007 17:27:23 +0200 Organization: Deal opinionated Drone Message-ID: <87y7g2p8ys.fsf@obelix.mork.no> References: <87d4xfenht.fsf@obelix.mork.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1187882940 22548 80.91.229.12 (23 Aug 2007 15:29:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2007 15:29:00 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13584@lists.math.uh.edu Thu Aug 23 17:28:57 2007 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 1IOEcB-0002qZ-TE for ding-account@gmane.org; Thu, 23 Aug 2007 17:28:56 +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 1IOEaw-0003ic-Sz; Thu, 23 Aug 2007 10:27:38 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IOEau-0003iL-Sl for ding@lists.math.uh.edu; Thu, 23 Aug 2007 10:27:36 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IOEas-0003Uk-Sy for ding@lists.math.uh.edu; Thu, 23 Aug 2007 10:27:36 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IOEar-0006b9-00 for ; Thu, 23 Aug 2007 17:27:33 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IOEaq-0004PR-CC for ding@gnus.org; Thu, 23 Aug 2007 17:27:32 +0200 Original-Received: from obelix.mork.no ([148.122.252.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Aug 2007 17:27:32 +0200 Original-Received: from bmork by obelix.mork.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Aug 2007 17:27:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: obelix.mork.no User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:X+uKWuGeLELJl/QdXUMkUsXW/qE= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65074 Archived-At: Katsumi Yamaoka writes: >>>>>> Bjørn Mork wrote: > >> This all looks good to me. According to RFC2445, the default charset >> for an iCalendar object is UTF-8, and the text within the object looks >> like valid UTF-8 to me. > > I've modified Gnus so as to use UTF-8 by default for decoding > text/calender parts. Probably good, but may cause problems with pre-RFC (version 1.0) text/calendar parts. Let's hope everybody using those were sending strict US-ASCII (possibly using QP to encode other charsets) > It is because Gnus doesn't decode the text/calendar part since > Gnus doesn't know the default charset for it, and inserts raw > UTF-8 data in the message buffer. I don't get the question anymore. Thanks. But it still doesn't work. The attachment is encoded as quoted-printable and gets this header: Content-Type: text/calendar; charset=iso-8859-1; name=meeting.ics Content-Transfer-Encoding: quoted-printable But it is not converted from utf-8, so that 'æ' is coded as '=C3=A6', 'å' as '=C3=A5' etc. Everything would have been fine if Gnus had just used Content-Type: text/calendar; charset=utf-8; name=meeting.ics Content-Transfer-Encoding: quoted-printable Any idea where this confusion comes from? Bjørn -- I don't want to hear about your prostitute.