From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4HxXGX9YUGHYKAAAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 13:24:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uEYKFX9YUGHVIQAAB5/wlQ (envelope-from ) for ; Sun, 26 Sep 2021 11:24:47 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DD41D30298 for ; Sun, 26 Sep 2021 13:24:46 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 471F32050C; Sun, 26 Sep 2021 07:24:43 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 378F4204EF for ; Sun, 26 Sep 2021 07:24:40 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id AAC905FD5C; Sun, 26 Sep 2021 07:24:39 -0400 (EDT) Received: (nullmailer pid 1589351 invoked by uid 1000); Sun, 26 Sep 2021 11:24:38 -0000 From: David Bremner To: Wenlong Dai , notmuch@notmuchmail.org Subject: Re: Why some characters are not displayed correctly when setting mm-text-html-renderer to links In-Reply-To: <877dgyv29e.fsf@tethera.net> References: <877dgyv29e.fsf@tethera.net> Date: Sun, 26 Sep 2021 08:24:38 -0300 Message-ID: <871r5b37gp.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: DCN3P4VL3WLY6EMSGT7VOZRXATCJIE5M X-Message-ID-Hash: DCN3P4VL3WLY6EMSGT7VOZRXATCJIE5M X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632655486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=RfAKOkLX5COVY6X5BKxVe6td98Ry1gZz7KYUlwhHyUs=; b=gFgJpR+WH6Yh7MP4iO+kAe+7qR96WPjJAG9wyUMtGLBoRPtNcmgGN+7xSMQuGfssix/+Uw kYDuk2FzgOS4eSGJdcewnCOsIhVfypcDNPq0hoGIcfAXExye+TBmx7uQc36qAuomTaetxH H0t1/0nRkW4prORtf9vyoFqmUi0rh3miaolPe9v+d6HJIKsRohRo941ySGliQv8qgSHN1B WvYR0fY8u+nwa4NovDBiWLb79OwRXWJ5BGik/Iq0xn+IwofNJJYSSLyPGrCVVk77Z+sytw xmYFga4keKO9xD9CZc1SvMKYdtoE8H+5N6my0rxgU4iAby59Cp2PJfN7BFLBpw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632655486; a=rsa-sha256; cv=none; b=b7SJeMKtntM2AG1GOSa7lCGVersT/yRD+N4l5LPkcxcBHMPyUQqJ6Jv0RtQYwFJu4w1Rc/ 3oT65x0vak4cvJ2xn+wE8wKpb3FIwvhnL7noJQ3kjkiyWgOuxie0Va9RGr8fibS1Xg5Ct6 KkfJAayGG67rJBKyVIV74b/RfXxQdIp7yuLv5kQbPdoihABnQk0FnlB9Fr4cw14pvUiFzA gNynt1wJIztaFzLRGOUanwgTMlExCJ/I1TcFmjKHH+n/B0AxWqqkXlujoMisjfiq700hpl nrW6T0tbNC21zNI67SfBh0p9HrTyqVprmRd/+TLBNEwA21zyemd/XMdyJPdGrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.21 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: DD41D30298 X-Spam-Score: -2.21 X-Migadu-Scanner: scn1.migadu.com X-TUID: PFhlHRBXD+WJ David Bremner writes: > Wenlong Dai writes: > >> >> After some research, I found that setting mm-text-html-renderer to links >> would reduce the load time from >> to around 2 seconds or less. But one small issue with this is some >> characters are not displayed correctly, for example the >> RIGHT SINGLE QUOTATION MARK, which would be displayed as \342\200\231 >> > > I didn't have time to debug this yet, but I did duplicate the problem on > Emacs 27.1 on Debian, so it is not Windows or gccemacs specific. As far > as I can tell links is outputing non-utf8 characters, but it could also > be other issues like double decoding. > Thanks to Lars Ingebrigtsen, the problem will be fixed in emacs 28, as of upstream emaacs commit a2c75d349a3ab83. d