From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac To: Jack Hill , Ricardo Wurmus Cc: guile-email@systemreboot.net, guix-devel@gnu.org Subject: Re: Character display problem in mumi and my mail client In-Reply-To: References: Date: Sun, 28 Jul 2019 13:03:51 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: Message-ID: <20190728073351.tm0zRd57q3XBBBFZm7LLW1G0UY4DWtDGGYVlUOqSCLw@z> --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > It appears that mumi (or at least the instance of it running on=20 > issues.guix.gnu.org) has problems displaying some non-ASCII characters. I= =20 > noticed it with '=E2=80=99'. Compare > > https://issues.guix.gnu.org/issue/36207 > > with > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36207 I have fixed this bug. See https://git.systemreboot.net/guile-email/commit/?id=3Dac83c2a00c13702bc365c= d0f3074239fa63d743f and https://git.systemreboot.net/guile-email/commit/?id=3D1f7c45fa0b71bd137e4b6= 61e0d473c3eb9c98f48 guile-email's parse-email and parse-email-body functions now prefer to operate on bytevectors, rather than on strings. Likewise, mbox->emails now returns a list of bytevectors, not a list of strings. I have updated the API documentation at https://guile-email.systemreboot.net/manual/Parsing-e_002dmail.html#Parsing= -e_002dmail @Ricardo: I think you are using a git checkout of guile-email for the mumi hosted at issues.guix.info. Could you use the latest guile-email commit on master (specifically, c85e6917ea21631857d93f58e60d910e07317131)? That should fix this bug. No other changes are required in mumi. I will release guile-email 0.2.0 in another week's time. > This reminds me of rjbs's talk, "Email Hates the Living". [0] > > [0] http://yapcasia.org/2011/talk/59 Indeed, email drags along a lot of backward compatibility baggage from the past. In the future, I'll add some of the pathological examples mentioned in this talk as test cases. Also, if you know of any corpus of email parser test cases, please let me know. I will use them to expand guile-email's test suite. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl09T+EACgkQLiXui2GA K7MzWgf/U3b//UMQ1ulPBV43N3m2SvCzNU3HQHuSQDR7aonQ+HJVfbdT9zWKIJJu USFLygS4aWYQhrgwoFucP7PpHb/rN9gOrktG8fDNdSErHkQYRwymdVk/sUoC3Ps6 V5L2Kr6CBM+7GjBY1WiOdibfVjMZepjiUwXN0JS39W70t0pw52K892UpAdhtQQoB rKxt+NeyGMwjgdDwcCAvXhpbB70WW/R0kNbbTgzyf186TDkiq2r4wEoP4YCm1JO8 d5Bo8OyGGxKfh0oZx8Qi4fKXPT5HMhrwiLzilob1S8glmwfsh4I9CpOvh5OW4ZWY ICZ4MP40am6yRymIkSXkgFqYr965BQ== =ze7C -----END PGP SIGNATURE----- --=-=-=--