delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.4 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 6 Sep 2012 12:01:06 -0700 |
From: | Gary Johnson <garyjohn AT spocom DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Strange behaviour of mutt.exe |
Message-ID: | <20120906190106.GA12077@phoenix> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAGOw3W_r10YBBdhJ0-AQBBzNCSXJvfhNypao4BDRxs5YGSj2yA AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CAGOw3W_r10YBBdhJ0-AQBBzNCSXJvfhNypao4BDRxs5YGSj2yA@mail.gmail.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 2012-09-07, Stepan Yakovenko wrote: > HI! > > To reproduce the problem, launch mutt from command line: > mutt -f cygwin.mutt.glitch.eml > > open mail and press 'v' to view attachmets. Then press 's' to save > attachment. Result of saving is different on linux and windows (see > files attached). Specially, on windows this file has extra B character > after 'Done:' substring. Looks like a bug. Is there anyone who may > want to fix it? The only difference I see between the two attachments att.cygwin and att.linux is that the former is encoded as UTF-8 while the latter is encoded as Latin1. (The latter could have been encoded as something else, but its encoding is consistent with Latin1.) That difference affects the encoding of three non-breaking spaces: - between "> >" and " can" - after "PS:" - after "Done:" The non-breaking space is 0xa0 in Latin1 and 0xc2a0 in UTF-8. I think that 0xc2 is being rendered as a B in whatever you're using to view that file. The only problem is that that viewer doesn't know it's looking at UTF-8. Regards, Gary -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |