From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35568 Path: main.gmane.org!not-for-mail From: Anssi Saari Newsgroups: gmane.emacs.gnus.general Subject: Re: Questions about piping and unknown charsets Date: Mon, 2 Apr 2001 11:26:41 +0300 Message-ID: <20010402112640.A172@sci.fi> References: <20010330140813.A14970@sci.fi> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035171293 3825 80.91.224.250 (21 Oct 2002 03:34:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:34:53 +0000 (UTC) Return-Path: Original-Received: (qmail 7254 invoked by alias); 2 Apr 2001 08:26:43 -0000 Original-Received: (qmail 7243 invoked from network); 2 Apr 2001 08:26:43 -0000 Original-Received: from posti.saunalahti.fi (HELO vasta.saunalahti.fi) (195.197.53.226) by gnus.org with SMTP; 2 Apr 2001 08:26:43 -0000 Original-Received: from simpukka.saunalahti.fi (as@simpukka [195.74.0.20]) by vasta.saunalahti.fi (8.10.1/8.10.1) with ESMTP id f328Qfo17162 for ; Mon, 2 Apr 2001 11:26:41 +0300 (EEST) Original-Received: (from as@localhost) by simpukka.saunalahti.fi (8.8.5/8.8.3) id LAA01864 for ding@gnus.org; Mon, 2 Apr 2001 11:26:41 +0300 (EET DST) Original-To: ding@gnus.org Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Kai.Grossjohann@CS.Uni-Dortmund.DE on Sat, Mar 31, 2001 at 01:20:14AM +0200 Original-Lines: 27 Xref: main.gmane.org gmane.emacs.gnus.general:35568 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35568 On Sat, Mar 31, 2001 at 01:20:14AM +0200, Kai Großjohann wrote: > I think you can `C-d' on the message, then `1 g' on the attachment, > specifying the correct charset. If I do that, I get the attachment as a separate message, with these MIME headers: MIME-Version: 1.0 Content-Type: text/plain; name="message.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="message.txt" The text is still quoted-printable and doesn't get decoded. I suppose that because the actual text I'm interested in is still an attachment specifying the charset with 1 g doesn't help. Washing with W q produces the message "Malformed quoted-printable text" which I think is caused by the article's header line Content-Type: TEXT/PLAIN; charset=X-UNKNOWN which is indeed malformed quoted-printable. What a mess. I hope I don't get a lot of this kind of messages. It seems the best solution is copying the message to any group that allows editing and changing the charset by hand. > Does it work to do `C-u g' first before piping? Yes it does, thanks. My script doesn't work, but that I can solve :)