From: Christopher Baines <mail@cbaines.net>
To: guile-email@systemreboot.net
Subject: [guile-email] more decoding errors
Date: Fri, 27 Sep 2019 22:41:54 +0100 [thread overview]
Message-ID: <874l0xquvx.fsf@cbaines.net> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 721 bytes --]
Hey,
So I've found another case of tricky decodings. I've been looking at the
first email in this mbox file [1]. The From header is:
From: =?UTF-8?Q?Ludovic_Court=E8s?= <ludo@gnu.org>
1: https://lists.gnu.org/archive/mbox/guix-commits/2016-01
This seems to trip up guile-email within the decode-mime-encoded-word
function, the bytevector returned by q-encoding-decode doesn't work with
bytevector->string.
I'm still not exactly sure why, some experimenting shows that the
following decodes to what I guess is the intended text:
Ludovic_Court=C3=A8s
Similarly to the recent changes, specifying 'substitute as the third
argument to bytevector->string at least avoids crashing in this case.
Any thoughts?
Chris
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]
[-- Attachment #2: Type: text/plain, Size: 110 bytes --]
--
guile-email mailing list
guile-email@systemreboot.net
https://lists.systemreboot.net/listinfo/guile-email
next reply other threads:[~2019-09-28 6:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-27 21:41 Christopher Baines [this message]
2019-09-28 8:12 ` Arun Isaac
2019-09-28 8:12 ` Arun Isaac
2019-09-28 9:34 ` Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874l0xquvx.fsf@cbaines.net \
--to=mail@cbaines.net \
--cc=guile-email@systemreboot.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox