nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] scan doesn't appear to understand language encodings

2017-06-02 08:27:57
In a message of Fri, 02 Jun 2017 11:40:40 +0100, Ralph Corderoy writes:
Hi Laura,

374  06/01 Jacob Hallén       Fang Yuan Shi Wu<<S?dermannagatan 37 >>

I would guess the `From' header encoded `Hallén' and nmh was happy to
decode.  Judging by the single question mark, I think the body has a
single byte for the `ö', but that isn't valid for its stated encoding,
e.g. UTF-8.

It would be useful to have these headers,

   From
   Content-Type
   Content-Transfer-Encoding

and the start of the body from the email's file, i.e. without nmh's
interpretation.  That may need a `cat -A' or similar to have the odd
byte be representable.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

cat -A (indented one tab) follows.  The entire text of the mail was the
address, Södermannagatan 37.  (and yes, the food was good there, too.)
Laura


        Return-Path: <jacob(_at_)openend(_dot_)se>$
        Received: from jacob.localnet (c83-251-50-145.bredband.comhem.se 
[83.251.50.145])$
        ^I(authenticated bits=0)$
        ^Iby theraft.openend.se (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id 
v51LnwAN028750$
        ^I(version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 
verify=NO)$
        ^Ifor <lac(_at_)openend(_dot_)se>; Thu, 1 Jun 2017 23:49:59 +0200$
        From: Jacob =?ISO-8859-1?Q?Hall=E9n?= <jacob(_at_)openend(_dot_)se>$
        To: lac(_at_)openend(_dot_)se$
        Subject: Fang Yuan Shi Wu$
        Date: Thu, 01 Jun 2017 23:49:51 +0200$
        Message-ID: <2804100.3QMpKmKeAn@jacob>$
        User-Agent: KMail/5.2.3 (Linux/4.9.0-3-amd64; KDE/5.28.0; x86_64; ; )$
        MIME-Version: 1.0$
        Content-Type: text/plain; charset="iso-8859-1"$
        X-Greylist: Sender succeeded SMTP AUTH, not delayed by 
milter-greylist-4.5.11 (theraft.openend.se [82.96.5.2]); Thu, 01 Jun 2017 
23:49:59 +0200 (CEST)$
        Content-Transfer-Encoding: 8bit$
        X-MIME-Autoconverted: from quoted-printable to 8bit by 
theraft.openend.se id v51LnwAN028750$
        X-DSPAM-Result: Whitelisted$
        X-DSPAM-Processed: Thu Jun  1 23:50:00 2017$
        X-DSPAM-Confidence: 0.9997$
        X-DSPAM-Probability: 0.0000$
        X-DSPAM-Signature: 59308c08287566178311967$
        $
        SM-vdermannagatan 37$
        $


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>