From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: Re: Character display problem in mumi and my mail client Date: Thu, 18 Jul 2019 15:53:41 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58409) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho3Zw-0005yq-HN for guix-devel@gnu.org; Thu, 18 Jul 2019 06:24:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ho3Zu-0004C2-IZ for guix-devel@gnu.org; Thu, 18 Jul 2019 06:24:00 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:43056) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ho3Zr-00041m-N7 for guix-devel@gnu.org; Thu, 18 Jul 2019 06:23:57 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Jack Hill , guix-devel@gnu.org Cc: guile-email@systemreboot.net --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Thanks for the bug report! > 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 > > In the former, Ludo's name displays as 'Ludo=C2=A2' while it the latter, = it=20 > displays correctly as 'Ludo=E2=80=99'. > > However, in Ludo's reply the character is displayed correctly. > > Does this indicate that my mail client (alpine on Debian Stretch) is doin= g=20 > the wrong thing? It seems that mumi could handle this situation better=20 > since it debbugs appears to handle it correctly. > > Looking at the raw mail downloaded from debbugs, I see that I'm sending=20 > mail as with the following encoding: > > ``` > Content-Type: text/plain; FORMAT=3Dflowed; CHARSET=3DISO-8859-7 > Content-Transfer-Encoding: 8BIT > ``` > > while Ludo's mail is: > > ``` > Content-Type: text/plain; charset=3Dutf-8 > Content-Transfer-Encoding: quoted-printable > ``` > > Interestingly, when I download the mbox file for my mail from debbugs, an= d=20 > looking at it Emacs with my en_us.UTF-8 locale, the cents-symbol appears.= =20 > Using iconv to convert the file from ISO-8859-7 to UTF8, causes the=20 > correct character to display. So what looks to be happening is that mumi= =20 > is interpreting my messages using the wrong encoding. > > Thoughts? Is this something we want to fix? I think this is a bug in guile-email. On brief examination, I found that guile-email is assuming charset of UTF-8 when the Content-Transfer-Encoding is 8bit. This is incorrect behaviour. I will fix this soon. Regards, Arun. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl0wSK0ACgkQLiXui2GA K7Pb1Af8DCe4H8dXQAIKs77r1S8UrOtpMiJoX4uLRbY03DeZtS+91S+4pbNbdDPB 9/M4IBcs5Do5w3sLZbATmwHz03pnR03VED7ExKRn14Bn8AGp/Y0JenVbDfuQGPno xjdrY8b5nIaEZHu39DvOTIPKmYOAZcq8NehqmBwbk/9I4VzBDBw8EnX+TmsolqDS kDpNteeVWBwF2p16t+6qdOZ/vpn5cG5Ga7NJ+o2meco9Qstjim+Kznq2UvVvIiio xEo1IJcQ9WM69BzQF1x7Cve+Xnwid86Af+9SU47Vsefa8mYEtrBbdG8y4FUcfaNP oQumE6LVs9GeWg2Dda0mSDRb1/rerQ== =U9h2 -----END PGP SIGNATURE----- --=-=-=--