From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Character display problem in mumi and my mail client Date: Thu, 18 Jul 2019 10:00:55 +0200 Message-ID: <87zhlbg4aw.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47816) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho1aH-0004Cf-Nw for guix-devel@gnu.org; Thu, 18 Jul 2019 04:16:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ho1aG-00086s-F7 for guix-devel@gnu.org; Thu, 18 Jul 2019 04:16:13 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21350) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ho1aF-00085k-Sz for guix-devel@gnu.org; Thu, 18 Jul 2019 04:16:12 -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 Cc: guix-devel@gnu.org Hi Jack, thanks for the report. > It appears that mumi (or at least the instance of it running on > issues.guix.gnu.org) has problems displaying some non-ASCII > characters. I noticed it with '=E2=80=99'. Compare > > https://issues.guix.gnu.org/issue/36207 > > with > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36207 The problem here is that the Debbugs SOAP service (which we use in guile-debbugs and thus mumi) serves up a base64-encoded blob for the email body without any information about encodings, so we just try UTF-8 and fall back to ISO 8859-1 if there=E2=80=99s an error. If we could opera= te on the actual email that would be different. Unfortunately, the SOAP service does not provide access to the actual emails. That=E2=80=99s only available through =E2=80=A6 the official Debbu= gs web interface. I=E2=80=99m currently in the process of moving away from the SOAP service f= or fetching message contents, because it=E2=80=99s just too painful. There ar= e too many truncated or otherwise mangled messages, and in the end we are just assembling them back to a good old email to parse them with Arun=E2=80=99s guile-email. Going forward mumi will only use the SOAP service to get bug status information and pointers to messages. The actual emails will be fetched through the Debbugs web interface with much cursing. > P.S. How are we tracking issues and patches for mumi? bug-guix@ and > guix-patches? Either of them would be fine. Please add [mumi] to the subject line so that it=E2=80=99s easier to distinguish them. -- Ricardo