From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.systemreboot.net (mugam.systemreboot.net [139.59.75.54]) by localhost (mpop-1.4.5) with POP3 for ; Sat, 28 Sep 2019 11:41:26 +0530 Return-path: Envelope-to: arunisaac@systemreboot.net Delivery-date: Sat, 28 Sep 2019 03:12:02 +0530 Received: from localhost.localdomain ([127.0.0.1] helo=[192.168.2.12]) by systemreboot.net with esmtp (Exim 4.92.1) (envelope-from ) id 1iDy02-0001Tg-7C for arunisaac@systemreboot.net; Sat, 28 Sep 2019 03:12:02 +0530 Received: from [212.71.252.8] (helo=mira.cbaines.net) by systemreboot.net with esmtp (Exim 4.92.1) (envelope-from ) id 1iDy00-0001TZ-5r for guile-email@systemreboot.net; Sat, 28 Sep 2019 03:12:00 +0530 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 4418817441 for ; Fri, 27 Sep 2019 22:41:58 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 39034af3 for ; Fri, 27 Sep 2019 21:41:56 +0000 (UTC) User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines To: guile-email@systemreboot.net Date: Fri, 27 Sep 2019 22:41:54 +0100 Message-ID: <874l0xquvx.fsf@cbaines.net> MIME-Version: 1.0 Subject: [guile-email] more decoding errors X-BeenThere: guile-email@systemreboot.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: guile-email discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3619112041916948322==" Errors-To: guile-email-bounces@systemreboot.net --===============3619112041916948322== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain 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?= 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl2OgiJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfGRhAAgVcvwIdZn0l8CzlVg+FrV6uoumseOBL0a5PpSV3bAipOHQKnSBdOaERJ QAslV6LxpkyjRu/jlPfr3EGMwdKGVKJ3gmb5m4YAF2iiI/GeIl4txWGuxeL9sGoM 9z1BGEG/CZACZamzINb4c32CV9MnWEK3r34GSfkPejqKwm52u8I1dBB6Y5yD+c80 XsjH5I9V6SXJDVE1e64QLhXOBLdSNGiTE5XOfaDTRfMS61Jln4VEcaMtpW3ddfv5 WEze0DzCGY3LzQbF0n0+U94vzwbs1vVXw1B7JBAP1OeZwff1aG5zJgi9XehXgixQ wQltuaQHVmum+aqOEN3Q/L0uf1/BNJvrGFlhwI5J1u90mZhySTgq3loc4jKRy2UT T4ajLMm66FK6fYowCLbakjgrscAD+hIehhba5WQK0PvvY6hEHN2suDfXfoVeTZLK k4VOd/NTfXjwKS1c4TATzVDar698oThxp4yglmqn9mDQ8WvCWzFWc5+RfJ0YTFEQ RpdxJe+2biGnDiDtNUyJrjDJyy89tEXTpl20matp0QDFKM2cot27peKMj2is5lL9 sVuFTX+XpJSMNmGV4ALYdWoZfgA4jpdi2qyKxLzW/ueiCtyYaFfPTEK03uJuq+95 68Vx3p5Gc4iOI9Nosnb6sOkh0Ntc7U2NVfE8HsP0oavBSoIaYig= =bKAY -----END PGP SIGNATURE----- --=-=-=-- --===============3619112041916948322== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- guile-email mailing list guile-email@systemreboot.net https://lists.systemreboot.net/listinfo/guile-email --===============3619112041916948322==--