From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#44307: 27.1; UTF-8 parts transferred as 8bit in multipart messages fail to decode Date: Sun, 10 Jan 2021 13:27:23 +0100 Message-ID: <87wnwlugd0.fsf@gnus.org> References: <8735zj6q6h.fsf@goulash.lrde.epita.fr> <8735zf3f46.fsf@gnus.org> <87k0srg0hz.fsf@goulash.lrde.epita.fr> <87wnwo3kd2.fsf@gnus.org> <87wnwo7muj.fsf@lrde.epita.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10104"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 44307@debbugs.gnu.org To: Alexandre Duret-Lutz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 10 13:28:24 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kyZpY-0002WK-Ae for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jan 2021 13:28:24 +0100 Original-Received: from localhost ([::1]:36850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyZpX-0002jF-Ei for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jan 2021 07:28:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyZpC-0002hh-6N for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 07:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41752) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyZpB-00016L-UK for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 07:28:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kyZpB-0007NW-Qg; Sun, 10 Jan 2021 07:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sun, 10 Jan 2021 12:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44307 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 44307-submit@debbugs.gnu.org id=B44307.161028165528320 (code B ref 44307); Sun, 10 Jan 2021 12:28:01 +0000 Original-Received: (at 44307) by debbugs.gnu.org; 10 Jan 2021 12:27:35 +0000 Original-Received: from localhost ([127.0.0.1]:53298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyZol-0007Mg-1V for submit@debbugs.gnu.org; Sun, 10 Jan 2021 07:27:35 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:40244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyZoj-0007MQ-7J for 44307@debbugs.gnu.org; Sun, 10 Jan 2021 07:27:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OnVh67w4YUVoZw8wpa5YcSrBbP6BROzpnflIAxVcDZI=; b=So2TYCgstuM7vng2RRiVTIK7Nr HDq91NQIa0WNFEpdyLOpnk7PawCs71kYyNWnzhJD7BYgFoB6SWfrdoZw4WA6ThMy6JRxY0t3BqnW6 iUe51qyLtkznOrKqjksCj2k+Ic4k7Y3+qruJMOCmFcd7lubPxF65IQuymf9jkgGYfdsg=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kyZoa-0006cs-AY; Sun, 10 Jan 2021 13:27:27 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEUrJix8fYDDxrz/ //9o5RaJAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UBCgwaKSMFcpYAAAGkSURBVCjPNVFNi9swEH0y tmh8SiEJRKdeCo1/xWShObsLNpucdsEOa/0KL/TUk1o2PeSUBSWs5ld2ZHUF+ni8mdF7MwAwyIbp MK2FbGUvCeR1ZDiehMLJNeNIKcr7yFuXcoZ5cVHGFVAKy1CVThkyEoaMw57WdjRTHL/UbmldOYEH 4AfbS2KA0wvzldNbvTHv7t7/M3zg/N4Dn0UPmtajEcYSPkH1fhn1CpjNi6E5UASAdrraWxLJj0C7 1ePTaQ5EdrUtR9UVqfCQ/Rq1F/dUuGWn+ae6BgI1Ad7wdbV334F9UBcThoP1klR5qXwxjT0rKdeZ 12xsg1ltBTj7fDc+2d8iZXmkAM3e/uER2IiPQpF5P8r3eTuZ0v4LUC8qbgUUvu9Q5xXfxmi27kCL km+vkObFxjcl95JVcIhDyELPJNVPkwO/4fPfHY8VxB+tj+dwz1Tim1BrvnnRoaa4Wbje3oYPwOHm 1tNIVT2zYYhdQ0uq1hVv4pdYkQ76wGm8MtWQnUNIo3ncDhnzcwKdGtTZjqmdc3xFGSgB0jsqGnws JZqnyv8ARbqCM9bpZA0AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDEtMTBUMTI6MjY6NDArMDA6 MDBnm9poAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTAxLTEwVDEyOjI2OjQwKzAwOjAwFsZi1AAA AABJRU5ErkJggg== X-Now-Playing: Momus's _Tender Pervert_: "The Homosexual" In-Reply-To: <87wnwo7muj.fsf@lrde.epita.fr> (Alexandre Duret-Lutz's message of "Thu, 07 Jan 2021 17:06:44 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197593 Archived-At: Alexandre Duret-Lutz writes: > After "make bootstrap", this seems to fix only the rendering of > text/html utf-8 parts (I'm using w3m, if that matters). However > text/plain utf-8 parts are still garbled as they where before. Yeah, it was a long shot. What about the following patch? diff --git a/lisp/gnus/nnmaildir.el b/lisp/gnus/nnmaildir.el index e4fd976742..59926991b3 100644 --- a/lisp/gnus/nnmaildir.el +++ b/lisp/gnus/nnmaildir.el @@ -1351,7 +1351,8 @@ nnmaildir-request-article (throw 'return nil)) (with-current-buffer (or to-buffer nntp-server-buffer) (erase-buffer) - (nnheader-insert-file-contents nnmaildir-article-file-name)) + (let ((nnheader-file-coding-system nnmail-file-coding-system)) + (nnheader-insert-file-contents nnmaildir-article-file-name))) (cons gname num-msgid)))) (defun nnmaildir-request-post (&optional _server) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no