From unknown Sat Aug 09 09:35:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45925: 27.1; *Summary* buffer vs. raw utf-8 headers Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sun, 17 Jan 2021 05:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45925 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: 45925@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161086177512983 (code B ref -1); Sun, 17 Jan 2021 05:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jan 2021 05:36:15 +0000 Received: from localhost ([127.0.0.1]:44455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l10jU-0003NI-RG for submit@debbugs.gnu.org; Sun, 17 Jan 2021 00:36:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:57172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l10jQ-0003N6-N4 for submit@debbugs.gnu.org; Sun, 17 Jan 2021 00:36:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l10jQ-0000iw-G2 for bug-gnu-emacs@gnu.org; Sun, 17 Jan 2021 00:36:08 -0500 Received: from hamster.birch.relay.mailchannels.net ([23.83.209.80]:45069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l10jO-0004rJ-E5 for bug-gnu-emacs@gnu.org; Sun, 17 Jan 2021 00:36:08 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 809347E1F84 for ; Sun, 17 Jan 2021 05:36:02 +0000 (UTC) Received: from pdx1-sub0-mail-a19.g.dreamhost.com (100-96-45-5.trex.outbound.svc.cluster.local [100.96.45.5]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 200437E2312 for ; Sun, 17 Jan 2021 05:36:02 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a19.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/6.0.1); Sun, 17 Jan 2021 05:36:02 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Wiry-Obese: 1cc61bdc201f78da_1610861762368_1743312377 X-MC-Loop-Signature: 1610861762368:3037984191 X-MC-Ingress-Time: 1610861762368 Received: from pdx1-sub0-mail-a19.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a19.g.dreamhost.com (Postfix) with ESMTP id D50007F56D for ; Sat, 16 Jan 2021 21:36:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=BnkmoRYFgEwnzEshAF JnNvOyvsY=; b=X4JxBvHs9SQybrIHyiqp0D6rOuWLj350fD7EmlETkpRJ2iOdAS b/ftLK5F0AdojxX5IzNrTuL7AMdRKak4US7CC+R1ohM2MimSHvMByU4kOu2zWezf xsU2dkN4C5pIja4r1Lh16ao3dJ3LRKBP3OGGyP+ZflRyGTDMphkgsk8Rc= Received: from jidanni.org (36-234-71-232.dynamic-ip.hinet.net [36.234.71.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a19.g.dreamhost.com (Postfix) with ESMTPSA id 98E9F7E35D for ; Sat, 16 Jan 2021 21:36:00 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a19 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Date: Sun, 17 Jan 2021 13:35:57 +0800 Message-ID: <87ft30azwi.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=23.83.209.80; envelope-from=jidanni@jidanni.org; helo=hamster.birch.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Try this simple experiment: $ echo Subject: =E4=B8=80=E4=BA=8C=E4=B8=89|procmail $ echo Subject: =E4=B8=80=E4=BA=8C=E4=B8=89|iconv -t big5|procmail $ emacs -f gnus In the *Article* buffer, both look like Subject: =E4=B8=80=E4=BA=8C=E4=B8=89 In the *Summary* buffer so does the big5 version. Alas, the utf-8 version looks like c\x80\xd3.... (Yes, these are illegal raw headers. But Gnus is supposed to be accommodating. And it does... but oddly not for the majority (UTF-8) case= .) Important settings: value of $LC_COLLATE: C value of $LC_CTYPE: zh_TW.UTF-8 value of $LC_MESSAGES: C value of $LANG: zh_TW.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix (Might be related to bug#45724.) (https://www.jidanni.org/comp/configuration/ has my dot files. ) From unknown Sat Aug 09 09:35:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45925: Happens since 27.1 References: <87ft30azwi.5.fsf@jidanni.org> In-Reply-To: <87ft30azwi.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 19 Jan 2021 01:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45925 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: 45925@debbugs.gnu.org, 45724@debbugs.gnu.org Received: via spool by 45925-submit@debbugs.gnu.org id=B45925.161101828129673 (code B ref 45925); Tue, 19 Jan 2021 01:05:02 +0000 Received: (at 45925) by debbugs.gnu.org; 19 Jan 2021 01:04:41 +0000 Received: from localhost ([127.0.0.1]:48818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1fRp-0007iS-GD for submit@debbugs.gnu.org; Mon, 18 Jan 2021 20:04:41 -0500 Received: from black.elm.relay.mailchannels.net ([23.83.212.19]:7759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1fRi-0007i6-4z; Mon, 18 Jan 2021 20:04:39 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BD76E70327A; Tue, 19 Jan 2021 01:04:30 +0000 (UTC) Received: from pdx1-sub0-mail-a43.g.dreamhost.com (100-98-118-101.trex.outbound.svc.cluster.local [100.98.118.101]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C11B770314D; Tue, 19 Jan 2021 01:04:23 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a43.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/6.0.1); Tue, 19 Jan 2021 01:04:30 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Decisive-Society: 01bf08901258e7e8_1611018264102_174636357 X-MC-Loop-Signature: 1611018264102:36873667 X-MC-Ingress-Time: 1611018264102 Received: from pdx1-sub0-mail-a43.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a43.g.dreamhost.com (Postfix) with ESMTP id 8C3AE7EE9E; Mon, 18 Jan 2021 17:04:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=lBYNuNcjpERsHm81wOA/XpJkh1s=; b=UqRKDEkvk0wss30K wMH38So0nV1m5XMrTKg5GSUtomNNK7LWZfbWlM8Nzp+59KNUtmMXOs9PyIkIljlG /tOcHF80krhizF8bDz3GbTMmfExRdnnd5vH5wUWX0le+r349fCZue0rAuzrsIeDq b4rak0fmtOTvTL3gHsxo68m5nJE= Received: from jidanni.org (114-46-62-116.dynamic-ip.hinet.net [114.46.62.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a43.g.dreamhost.com (Postfix) with ESMTPSA id 4B9587EE96; Mon, 18 Jan 2021 17:04:20 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a43 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Date: Tue, 19 Jan 2021 09:04:16 +0800 Message-ID: <87k0s9hh4f.8.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Note with emacs-version "27.1" these certain old messages that have been sitting in my *Summary* buffer for years suddenly have got their Subject garbled. (Fine though in *Article* buffer.) From unknown Sat Aug 09 09:35:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45925: 27.1; *Summary* buffer vs. raw utf-8 headers Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 19 Jan 2021 05:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45925 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 45925@debbugs.gnu.org Received: via spool by 45925-submit@debbugs.gnu.org id=B45925.161103426024858 (code B ref 45925); Tue, 19 Jan 2021 05:31:02 +0000 Received: (at 45925) by debbugs.gnu.org; 19 Jan 2021 05:31:00 +0000 Received: from localhost ([127.0.0.1]:49106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1jbY-0006Ss-1g for submit@debbugs.gnu.org; Tue, 19 Jan 2021 00:31:00 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1jbW-0006Sc-4m for 45925@debbugs.gnu.org; Tue, 19 Jan 2021 00:30:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=xRucUHIhq/EwzO2rGCLAnydNj6GFXWUbU9uWHcPVguw=; b=fgjwyj/a15idEUakoK85WyJoLr YPdixGytAuxnD9wuFfrJtSuGkVQAKSnpYZrrHJgHG9B2TLlzCgNgvvO8pnyz+PRTBnPJy+kGzgGt7 PK40sHZbpmM++aAsTnj8b7llx5sDi43GVczYiNvKjlWo3XXmzoPSTUQy2hLGa2Mh39nU=; 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 1l1jbK-0003uQ-1e; Tue, 19 Jan 2021 06:30:51 +0100 From: Lars Ingebrigtsen References: <87ft30azwi.5.fsf@jidanni.org> X-Now-Playing: Cocteau Twins's _Treasure Hiding (4): Sessions & Rarities_: "Fifty-Fifty Clown (Robert Elms BBC Session)" Date: Tue, 19 Jan 2021 06:30:44 +0100 In-Reply-To: <87ft30azwi.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Sun, 17 Jan 2021 13:35:57 +0800") Message-ID: <874kjdpk6z.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson writes: > Try this simple experiment: > $ echo Subject: =?UTF-8?Q?=E4=B8=80=E4=BA=8C=E4=B8=89|procmail?= > $ echo Subject: =?UTF-8?Q?=E4=B8=80=E4=BA=8C=E4=B8=89|iconv?= -t big5|procmail I don't have procmail installed, so I'm not sure what these do -- are you sending a mail (to yourself?) here? Do you have a recipe to reproduce this problem without the use of procmail? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > Try this simple experiment: > $ echo Subject: =E4=B8=80=E4=BA=8C=E4=B8=89|procmail > $ echo Subject: =E4=B8=80=E4=BA=8C=E4=B8=89|iconv -t big5|procmail I don't have procmail installed, so I'm not sure what these do -- are you sending a mail (to yourself?) here? Do you have a recipe to reproduce this problem without the use of procmail? > $ emacs -f gnus > > In the *Article* buffer, both look like > Subject: =E4=B8=80=E4=BA=8C=E4=B8=89 > In the *Summary* buffer so does the big5 version. > Alas, the utf-8 version looks like > c\x80\xd3.... > > (Yes, these are illegal raw headers. But Gnus is supposed to be > accommodating. And it does... but oddly not for the majority (UTF-8) case= .) [...] > (Might be related to bug#45724.) Is this still with nnml? If so, could you find the resulting lines in the .overview files in the nnml directory and post them here? (Perhaps after gzipping them to avoid Emacs helpfully re-encoding the lines.) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Aug 09 09:35:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45925: 27.1; *Summary* buffer vs. raw utf-8 headers In-Reply-To: <87ft30azwi.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 20 Jan 2021 06:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45925 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 45925@debbugs.gnu.org Received: via spool by 45925-submit@debbugs.gnu.org id=B45925.161112580920133 (code B ref 45925); Wed, 20 Jan 2021 06:57:02 +0000 Received: (at 45925) by debbugs.gnu.org; 20 Jan 2021 06:56:49 +0000 Received: from localhost ([127.0.0.1]:52647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l27Q9-0005Ee-AG for submit@debbugs.gnu.org; Wed, 20 Jan 2021 01:56:49 -0500 Received: from black.elm.relay.mailchannels.net ([23.83.212.19]:9293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l27Q6-0005EU-CG for 45925@debbugs.gnu.org; Wed, 20 Jan 2021 01:56:48 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DDBA2401494; Wed, 20 Jan 2021 06:56:44 +0000 (UTC) Received: from pdx1-sub0-mail-a23.g.dreamhost.com (100-96-9-240.trex.outbound.svc.cluster.local [100.96.9.240]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id DB7B54020B4; Wed, 20 Jan 2021 06:56:43 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a23.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/6.0.1); Wed, 20 Jan 2021 06:56:44 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Fumbling-Thoughtful: 1936f9d54f5b8e97_1611125804694_4056827123 X-MC-Loop-Signature: 1611125804694:1515136877 X-MC-Ingress-Time: 1611125804694 Received: from pdx1-sub0-mail-a23.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a23.g.dreamhost.com (Postfix) with ESMTP id A272D8484E; Tue, 19 Jan 2021 22:56:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=HVNBPWInkWOo0WUw4/ aFTxKp5y0=; b=Ip6una0c0LG22DeKQAxQFxsMMje0UH95SIf0W1WyFRGkDlzgjF 05HC6Ict5tlxx5OvgR5bnJHuY6IAhu40ImqR0+Itd4/d6Tg78FV5aVrZEKtYFRyT tyHMhS8cx0bkMOyK5ODE9iCuxjUhpGFMTZEQS3y5A3VdhgUTRptH7mZW0= Received: from jidanni.org (36-234-71-202.dynamic-ip.hinet.net [36.234.71.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a23.g.dreamhost.com (Postfix) with ESMTPSA id 062D67E3B6; Tue, 19 Jan 2021 22:56:42 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a23 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson References: <87ft30azwi.5.fsf@jidanni.org> <874kjdpk6z.fsf@gnus.org> Date: Wed, 20 Jan 2021 13:58:08 +0800 Message-ID: <87zh14f8un.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> "LI" =3D=3D Lars Ingebrigtsen writes: LI> =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes= : >> Try this simple experiment: >> $ echo Subject: =E4=B8=80=E4=BA=8C=E4=B8=89|procmail >> $ echo Subject: =E4=B8=80=E4=BA=8C=E4=B8=89|iconv -t big5|procmail LI> I don't have procmail installed, so I'm not sure what these do -- are LI> you sending a mail (to yourself?) here? Do you have a recipe to LI> reproduce this problem without the use of procmail? $ echo Subject: =E4=B8=80=E4=BA=8C=E4=B8=89 > ~/Maildir/new/Z $ file ~/Maildir/new/Z ~/Maildir/new/Z: UTF-8 Unicode text >> $ emacs -f gnus >>=20 >> In the *Article* buffer, both look like >> Subject: =E4=B8=80=E4=BA=8C=E4=B8=89 >> In the *Summary* buffer so does the big5 version. >> Alas, the utf-8 version looks like >> c\x80\xd3.... >>=20 >> (Yes, these are illegal raw headers. But Gnus is supposed to be >> accommodating. And it does... but oddly not for the majority (UTF-8) c= ase.) LI> [...] >> (Might be related to bug#45724.) LI> Is this still with nnml? If so, could you find the resulting lines i= n LI> the .overview files in the nnml directory and post them here? (Perha= ps LI> after gzipping them to avoid Emacs helpfully re-encoding the lines.) Yes, nnml. The headers get appended raw to .overview. Thus .overview contains a mix of ASCII, big5, and UTF-8, all in the same = file. $ echo Subject: =E4=B8=80=E4=BA=8C=E4=B8=89|iconv -t big5 > ~/Maildir/new= /B5 $ echo Subject: =E4=B8=80=E4=BA=8C=E4=B8=89 > ~/Maildir/new/UT $ emacs -f gnus $ tail -n 2 Mail/mail/misc/.overview|qprint -e 37397 =3DA4@=3DA4G=3DA4T (nobody) <87a6t4gnpx.5.fsf@t= otally-fudged-out-mess=3D age-id> 0 0 Xref: jidanni5 mail.misc:37397=3D09 37398 =3DE4=3DB8=3D80=3DE4=3DBA=3D8C=3DE4=3DB8=3D89 (nobody) = <878s8ognpx.5.fsf@totally-=3D fudged-out-message-id> 0 0 Xref: jidanni5 mail.misc:= 37398=3D09 Anyway: *Summary* oddly can only deal with raw big5, not raw UTF-8. However *Article* can deal with both. From unknown Sat Aug 09 09:35:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45925: 27.1; *Summary* buffer vs. raw utf-8 headers Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 20 Jan 2021 16:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45925 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 45925@debbugs.gnu.org Received: via spool by 45925-submit@debbugs.gnu.org id=B45925.161116034620368 (code B ref 45925); Wed, 20 Jan 2021 16:33:01 +0000 Received: (at 45925) by debbugs.gnu.org; 20 Jan 2021 16:32:26 +0000 Received: from localhost ([127.0.0.1]:56028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2GPA-0005HR-Up for submit@debbugs.gnu.org; Wed, 20 Jan 2021 11:32:25 -0500 Received: from quimby.gnus.org ([95.216.78.240]:46342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2GOu-00051V-FW for 45925@debbugs.gnu.org; Wed, 20 Jan 2021 11:32:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=crlAE4JKxI0CkPSvI9odzfJHHg2qUe83ZCS2h6LC+fs=; b=BXpm+efSUsLGEd7xRKqamfXk1G j0EvNfrSbSgqvPJjgCuImpDxBxFBa6RopHCy8NmLqs8oKQ18W+eIOBPV7qMi5LopYtwE30KEiFj48 fCZ4+/dxwDCfvzhtkxjPEs/hUYYAOOeu2BUMXqQT9ZHFNcfojNJ4RUt1RpxZg9zJykRQ=; 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 1l2GOl-0001MT-OS; Wed, 20 Jan 2021 17:32:02 +0100 From: Lars Ingebrigtsen References: <87ft30azwi.5.fsf@jidanni.org> <874kjdpk6z.fsf@gnus.org> <87zh14f8un.5.fsf@jidanni.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUiKDkGAwYeGiRc SCdcJAujWw7tvkD///9yuJSCAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UBFBAQLuJ0dQcAAAGQSURB VDjLbZPbkYMwDEWFK0Aa9t/WsgXskAaSECrAqWBx/yWsJJtHwMzEGXzQvdbD0GDrkBnw9MAvogv7 O911CQYIDp/3CrqHgRZgDxnvtuYI4j1iXFdokJDcybkLKPL0YbKdSn/g6sAfzA+AAokPX0Eb0PPV RYBp+Qpg74hX+1fO0ICeiVb7GB/Yjw8axZx1cy3vO874iiOP+u7UpWhNi4AURwOt7K/HnZKCZTap Y3mn9CdAQkDbcch8Sgv+pJRmMGPYEuyeN+zeEpI3PJzKRXZKz/5aRSjfhxqQ6WmrIOB1rKy14J1v qgDcXt04DDcuUo3fut5LCvLcv9+WYKmwBL9sP8190lqJ0pp3DkhLLxFeC1IS73RX4biBfN4vBVG1 3tpzFhc0tR8zUFiKKC0n+38O0nTRWlJJWcP2h4dhsEYFmbpwybwFSbtWK5nc2lTLp97xZaRLPy6d letpcxX2a9Dl2e1za4NNYwbRAOokknjwh9QzS1E4G5dGHcv7mSCAaB0uLt1WoO5ciQiqdh6TfxW5 dCpjs1zAAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAxLTIwVDE2OjE2OjQ1KzAwOjAwP2Ki3AAA ACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMS0yMFQxNjoxNjo0NSswMDowME4/GmAAAAAASUVORK5C YII= X-Now-Playing: Joe Jackson's _Live 1980-86 (2)_: "Memphis" Date: Wed, 20 Jan 2021 17:31:58 +0100 In-Reply-To: <87zh14f8un.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Wed, 20 Jan 2021 13:58:08 +0800") Message-ID: <878s8nr2m9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson writes: > LI> I don't have procmail installed, so I'm not sure what these do -- are > LI> you sending a mail (to yourself?) here? Do you have a recipe to > LI> reproduce this problem without the use of procma [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > LI> I don't have procmail installed, so I'm not sure what these do -- are > LI> you sending a mail (to yourself?) here? Do you have a recipe to > LI> reproduce this problem without the use of procmail? > > $ echo Subject: =E4=B8=80=E4=BA=8C=E4=B8=89 > ~/Maildir/new/Z > $ file ~/Maildir/new/Z > ~/Maildir/new/Z: UTF-8 Unicode text I thought this was about nnml? Is ~/Maildir/new/Z your nnml directory? > LI> Is this still with nnml? If so, could you find the resulting lines in > LI> the .overview files in the nnml directory and post them here? (Perha= ps > LI> after gzipping them to avoid Emacs helpfully re-encoding the lines.) > > Yes, nnml. > > The headers get appended raw to .overview. > > Thus .overview contains a mix of ASCII, big5, and UTF-8, all in the same = file. > > $ echo Subject: =E4=B8=80=E4=BA=8C=E4=B8=89|iconv -t big5 > ~/Maildir/new= /B5 > $ echo Subject: =E4=B8=80=E4=BA=8C=E4=B8=89 > ~/Maildir/new/UT > $ emacs -f gnus > $ tail -n 2 Mail/mail/misc/.overview|qprint -e > 37397 =3DA4@=3DA4G=3DA4T (nobody) <87a6t4gnpx.5.fsf@totally-fudged-out-me= ss=3D > age-id> 0 0 Xref: jidanni5 mail.misc:37397=3D09 > 37398 =3DE4=3DB8=3D80=3DE4=3DBA=3D8C=3DE4=3DB8=3D89 (nobody) <878s8ognpx.= 5.fsf@totally-=3D > fudged-out-message-id> 0 0 Xref: jidanni5 mail.misc:37398=3D09 There was just ASCII in the part you posted. Could you gzip it, as I asked you to? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Aug 09 09:35:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45925: 27.1; *Summary* buffer vs. raw utf-8 headers In-Reply-To: <87ft30azwi.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 21 Jan 2021 20:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45925 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 45925@debbugs.gnu.org Received: via spool by 45925-submit@debbugs.gnu.org id=B45925.16112598131464 (code B ref 45925); Thu, 21 Jan 2021 20:11:02 +0000 Received: (at 45925) by debbugs.gnu.org; 21 Jan 2021 20:10:13 +0000 Received: from localhost ([127.0.0.1]:59446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2gHU-0000NY-PA for submit@debbugs.gnu.org; Thu, 21 Jan 2021 15:10:12 -0500 Received: from bee.birch.relay.mailchannels.net ([23.83.209.14]:54966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2gHR-0000NF-Hs for 45925@debbugs.gnu.org; Thu, 21 Jan 2021 15:10:11 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 82DF67E2FCE; Thu, 21 Jan 2021 20:10:05 +0000 (UTC) Received: from pdx1-sub0-mail-a93.g.dreamhost.com (100-100-138-81.trex.outbound.svc.cluster.local [100.100.138.81]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9D79B7E311D; Thu, 21 Jan 2021 20:10:04 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a93.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/6.0.1); Thu, 21 Jan 2021 20:10:05 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Bubble-Spill: 74d1a66e325bf8b7_1611259805402_1658206102 X-MC-Loop-Signature: 1611259805402:4187008545 X-MC-Ingress-Time: 1611259805401 Received: from pdx1-sub0-mail-a93.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a93.g.dreamhost.com (Postfix) with ESMTP id 06F487F188; Thu, 21 Jan 2021 12:10:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=30cDLNYuHgzHFR+r3JHWSo4JY1U=; b=jTYQ40xQRjCBJ x/BySCOS4rySyGnCUW2QLFwNU5QtwBXbiQ+72ZehdVsvB9UrLD2ytFefiwI68VxY OZhi71QZs3d0Ir9kSDv+xN52UUK6yWy8BWpGxMTcrkxUncnhmAYXNiXzuKVE0pFZ sIJeOIKwxZCKhdJVwH/JLptVr1KpoA= Received: from jidanni.org (114-41-31-41.dynamic-ip.hinet.net [114.41.31.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a93.g.dreamhost.com (Postfix) with ESMTPSA id 1A6868501F; Thu, 21 Jan 2021 12:10:02 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a93 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson References: <87ft30azwi.5.fsf@jidanni.org> <874kjdpk6z.fsf@gnus.org> <87zh14f8un.5.fsf@jidanni.org> <878s8nr2m9.fsf@gnus.org> Date: Fri, 22 Jan 2021 03:55:44 +0800 Message-ID: <87k0s6vzcv.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain LI> I thought this was about nnml? Is ~/Maildir/new/Z your nnml directory? No. I just made a file where gnus gets its mail from when I hit "g". g runs the command gnus-group-get-new-news Anyway, all you need to do to reproduce this bug, is to have somebody send you a mail with raw UTF-8 in the Subject header. LI> There was just ASCII in the part you posted. Could you gzip it, as I LI> asked you to? $ perl -nwle 'print if /\P{ASCII}/' Mail/mail/misc/.overview > /tmp/h $ gzip /tmp/h --=-=-= Content-Type: application/gzip Content-Disposition: attachment; filename=h.gz Content-Transfer-Encoding: base64 H4sICHPaCWAAA2gArZTfb9NGHMCfj7/CoCm0GnbvLv4ZxaxohYdJY0gEsYe8XOyzY5T4stglNE+p qlVNAltLaaCBtNqQeGOaNE2rNv4a1MTJ2/6Ene3yY+oahvBZ1lm+0/fzvc/37rBuGDL4+3B3PHw8 O+j9PNwZ9/cmg/GjaOvX3uRgsvl0+Go47ayPf+Sjrx8/P5z1fr8/60U76+v83ZgdbE12twf9cX9/ 0u0Ipas3v/5GiPajg+7m0cZs6+XmrDfqRDuvHsUhx4NfkvDnz4MLVyxrtUGCIHoyHb3+/qet8Wh7 o7836wwvCMWANu96Fl0mJ3Mki9Uvg9vUviSgvHCd3RUwRIYA1QJSCggJn0PeQBEi3iGVqnlVtYiN RBtbesWBmmjbKhVlXEEi0Su6aMsWwQYksuFURJi0ZVonXk0iddJmfkBPkEDBKsJAU2XwbZM6BeGO ZxPf9xQhmV33AquAE4El9nZw+aSXWNMF5/IaNhD4ssl8ofhmQrvdvix8ZgsXq2HYCApLSz5tBZLL mFujMVgKW8mvpYBaocf8L74zo0Gq6QU3/kNvuxs93JgeTnf7OY+at0rXRL2ca7RNVM5ZjklqtXLO p7YZtsq5as1sV8XS7XLuTmDCi6DJWBgnINlNSupVFoQxUVhIMlwhtM78xbeqvyI+V42RgHEBqwWo CCLUIRQWbtwsLYJiPAQRkqGKVahIvMMaQisrp+NzlTLKQwMgWVPOdpnKet/lqUipUfzpRsf7094f h7PBpP/bx0r8KMyz/nS0/SB68mzv/TjviAFxqMkcJ/4yr5dzIamYLf+sTFJ+jOf0Vqslha5nxTst RnORvkSCxr1Pq7Ixp8qGdFW5tmKcXWUVa7zKqqLNrzL+cJXzeRX857b/Cyz4rMLstUUAirpW1fyq o7XXJEVyAmc5ZCE3tiY6q7ZLbZGthmKdBgFxqejZPEPInzmpxdQErv0vOKVejcNhVnAthesgvjf5 /cmv2lH330g90ENHIzgrpJ4ijTlIzWZ2lkgjQRr5OUivrgWuv3ovIyRnJUh5DpJvJCtLpJwiFXB8 1Dn+8/7xUffU3nFdv5mVVQ5KeOqcJVrtNciRKCtkelYM7awlEjWUXb+RmdL0eBgfOB4sSyQ/Hv8A KTZJvSQJAAA= --=-=-= Content-Type: text/plain Here you will see a mix of raw UTF-8, raw big5, all in the same file. The raw big5 works fine, but the raw UTF-8 looks garbled, in the summary buffer. In the article buffer, all look fine. Here are all my config files: https://www.jidanni.org/comp/configuration/.emacs https://www.jidanni.org/comp/configuration/.gnus.el https://www.jidanni.org/comp/configuration/.emacs-custom.el https://www.jidanni.org/comp/configuration/.emacs-w3m --=-=-=-- From unknown Sat Aug 09 09:35:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45925: 27.1; *Summary* buffer vs. raw utf-8 headers Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 21 Jan 2021 20:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45925 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: larsi@gnus.org, 45925@debbugs.gnu.org Received: via spool by 45925-submit@debbugs.gnu.org id=B45925.16112605892828 (code B ref 45925); Thu, 21 Jan 2021 20:24:02 +0000 Received: (at 45925) by debbugs.gnu.org; 21 Jan 2021 20:23:09 +0000 Received: from localhost ([127.0.0.1]:59473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2gU0-0000jY-QR for submit@debbugs.gnu.org; Thu, 21 Jan 2021 15:23:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2gTz-0000j9-5t for 45925@debbugs.gnu.org; Thu, 21 Jan 2021 15:23:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49483) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2gTt-000503-H2; Thu, 21 Jan 2021 15:23:01 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1629 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l2gTs-0007Fu-QU; Thu, 21 Jan 2021 15:23:01 -0500 Date: Thu, 21 Jan 2021 22:22:56 +0200 Message-Id: <83v9bq59b3.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87k0s6vzcv.5.fsf@jidanni.org> References: <87ft30azwi.5.fsf@jidanni.org> <874kjdpk6z.fsf@gnus.org> <87zh14f8un.5.fsf@jidanni.org> <878s8nr2m9.fsf@gnus.org> <87k0s6vzcv.5.fsf@jidanni.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: 積丹尼 Dan Jacobson > > Date: Fri, 22 Jan 2021 03:55:44 +0800 > Cc: 45925@debbugs.gnu.org > > Here you will see a mix of raw UTF-8, raw big5, all in the same file. > The raw big5 works fine, but the raw UTF-8 looks garbled, in the summary > buffer. In the article buffer, all look fine. Why do you expect a mixed-encoding stuff to work in Emacs? Emacs only supports a single encoding of any chunk of text it gets, be it a file or an email message. Files such as this one are simply not supported. From unknown Sat Aug 09 09:35:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45925: 27.1; *Summary* buffer vs. raw utf-8 headers In-Reply-To: <87ft30azwi.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 21 Jan 2021 20:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45925 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Eli Zaretskii Cc: larsi@gnus.org, 45925@debbugs.gnu.org Received: via spool by 45925-submit@debbugs.gnu.org id=B45925.16112624686334 (code B ref 45925); Thu, 21 Jan 2021 20:55:01 +0000 Received: (at 45925) by debbugs.gnu.org; 21 Jan 2021 20:54:28 +0000 Received: from localhost ([127.0.0.1]:59536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2gyJ-0001e6-PF for submit@debbugs.gnu.org; Thu, 21 Jan 2021 15:54:28 -0500 Received: from hamster.birch.relay.mailchannels.net ([23.83.209.80]:37149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2gyH-0001du-OD for 45925@debbugs.gnu.org; Thu, 21 Jan 2021 15:54:26 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 77A694000C0; Thu, 21 Jan 2021 20:54:24 +0000 (UTC) Received: from pdx1-sub0-mail-a93.g.dreamhost.com (100-96-17-5.trex.outbound.svc.cluster.local [100.96.17.5]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id EFA84400DC1; Thu, 21 Jan 2021 20:54:23 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a93.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/6.0.1); Thu, 21 Jan 2021 20:54:24 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Stop-Coil: 74d713414a95107f_1611262464248_1757007108 X-MC-Loop-Signature: 1611262464248:3702228662 X-MC-Ingress-Time: 1611262464248 Received: from pdx1-sub0-mail-a93.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a93.g.dreamhost.com (Postfix) with ESMTP id 359BC845C3; Thu, 21 Jan 2021 12:54:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=YAW8sgmydgFuY3ZU58MY75kkhuw=; b=ZHYWWQ17Cz66n yV69FZXVSX3emDv6J/mRlGq/dQ4EHhBZMHN+JVrX4KjlUyQV/Be+0te/1KS5yYeJ YwILqaEpQQEK9kiC5M+AIin5LxQErYRX1t8TvoibViNr1Rz5B8P+0p3aJ6ht0xys 7MmAx3sYMlYuD2lW/HL2ecs8CVXtEY= Received: from jidanni.org (114-41-31-41.dynamic-ip.hinet.net [114.41.31.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a93.g.dreamhost.com (Postfix) with ESMTPSA id 3E0F57E3A3; Thu, 21 Jan 2021 12:54:21 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a93 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson References: <87ft30azwi.5.fsf@jidanni.org> <874kjdpk6z.fsf@gnus.org> <87zh14f8un.5.fsf@jidanni.org> <878s8nr2m9.fsf@gnus.org> <87k0s6vzcv.5.fsf@jidanni.org> <83v9bq59b3.fsf@gnu.org> Date: Fri, 22 Jan 2021 04:54:17 +0800 Message-ID: <87pn1yui2u.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> "EZ" == Eli Zaretskii writes: EZ> Why do you expect a mixed-encoding stuff to work in Emacs? Emacs only EZ> supports a single encoding of any chunk of text it gets, be it a file EZ> or an email message. EZ> Files such as this one are simply not supported. So, Gnus should not just randomly slap raw lines into the same file. That is the root of all problems! From unknown Sat Aug 09 09:35:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45925: 27.1; *Summary* buffer vs. raw utf-8 headers Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 22 Jan 2021 18:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45925 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 45925@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Received: via spool by 45925-submit@debbugs.gnu.org id=B45925.161133877712551 (code B ref 45925); Fri, 22 Jan 2021 18:07:02 +0000 Received: (at 45925) by debbugs.gnu.org; 22 Jan 2021 18:06:17 +0000 Received: from localhost ([127.0.0.1]:32982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l30p6-0003GN-Oo for submit@debbugs.gnu.org; Fri, 22 Jan 2021 13:06:16 -0500 Received: from quimby.gnus.org ([95.216.78.240]:43416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l30p4-0003Fx-5F for 45925@debbugs.gnu.org; Fri, 22 Jan 2021 13:06:15 -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=/5KbGv9EptUF+oN0cnYb8eS1CJOLuKtnk91CrpRj08c=; b=OwuQjCpHkAT/xHJUG62+gWDg+X XWo05MQjVmARUWSNunvZzfjK1FuyimHAf9uKRGSZzYw0T7k9M+c5ruGQ13XUagOXLubc4xfiC2+6W TjyrJQEC7CT0Zzm0BjKUJvwjl+ahQQBxiFwx6EUx/MnoaUsJXDc8C0a8z8ymuUeYZzX8=; 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 1l30or-0003Xy-Dc; Fri, 22 Jan 2021 19:06:07 +0100 From: Lars Ingebrigtsen References: <87ft30azwi.5.fsf@jidanni.org> <874kjdpk6z.fsf@gnus.org> <87zh14f8un.5.fsf@jidanni.org> <878s8nr2m9.fsf@gnus.org> <87k0s6vzcv.5.fsf@jidanni.org> <83v9bq59b3.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUoFB5VNjS8dIK7 qqP39fS8RTfcsUX///99SiQ5AAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UBFhICKNpuvAQAAAGlSURB VDjLnZPPbsIwDMaTSdztSOXeVN2dpuMBtj4AAbnnMZa8/yPMdv/QVuUySyDhX/x9thOM2Q1E8yKs +X9sRGcpCy+AQ9gHpQfYAxacOy3yMAE+XZ1KOYCaAnwWOt8gvp0qNYNFk1g1pXOfbXnarMS6sqxc UMU1KBAr8q5RFzt7WyIsPCGfXYOCiG6RAegWcNoHCrjyJ8JidVyHhWQltsulaLWCYL0rJLB0o2iK 9c7Umw2ixV2gUi/B+tIEpLECp0uzqKCqbxMYNwU63zVwtlZgBx/+trGg25mBFw+cxzaHeGCQ3umn JlaetXjlUpHqfgY41jDIWdb4BJxN2tV5GCNOUtZgzhfe1VnHSBEEyM3ZPudsiKVYq/+4SMXxLhch 4Lvofx9tyDlJt8csAAXcuU6BZhgAuyowh5yDz0mV+nzHQVwO9jlRjVLAgBuNFPx7f9d3FYeBuc3E zUKJ7hhX/x3xNPz+iirB8LjGu3mIh3XoeMBlcDcMQmjDOtqu676C6ebQ7PxrAZrGB78BejQMYKwa QBOadqpQj5VUCH7fowvdM9/9AQYijYD1OMnmAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAxLTIy VDE4OjAyOjQwKzAwOjAw2HnbEgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMS0yMlQxODowMjo0 MCswMDowMKkkY64AAAAASUVORK5CYII= X-Now-Playing: Earwig's _Past_: "You Don't Even Come Close" Date: Fri, 22 Jan 2021 19:06:00 +0100 In-Reply-To: <83v9bq59b3.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 21 Jan 2021 22:22:56 +0200") Message-ID: <87h7n826ev.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Why do you expect a mixed-encoding stuff to work in Emacs? Emacs only > supports a single encoding of any chunk of text it gets, be it a file > or an email message. > > Files such as this one are si [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Why do you expect a mixed-encoding stuff to work in Emacs? Emacs only > supports a single encoding of any chunk of text it gets, be it a file > or an email message. > > Files such as this one are simply not supported. Sure they are. It's not a text file; it's an octet stream. But as Dan points out, Gnus doesn't handle these invalid mails optimally, and doing some RFC2047-encoding to the headers before writing the .overview file will help a bit here, so I've now done that in Emacs 28. (Gnus will still display some of these headers "wrong" in the summary buffer, and display them "right" in the article buffer, because Gnus has to guess at what the charset is, and it does further guessing in the article buffer than in the summary buffer, for reasons of efficiency.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 22 13:08:21 2021 Received: (at control) by debbugs.gnu.org; 22 Jan 2021 18:08:21 +0000 Received: from localhost ([127.0.0.1]:32987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l30r7-0003Ja-57 for submit@debbugs.gnu.org; Fri, 22 Jan 2021 13:08:21 -0500 Received: from quimby.gnus.org ([95.216.78.240]:43586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l30r5-0003JM-NP for control@debbugs.gnu.org; Fri, 22 Jan 2021 13:08:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6Y2/x9FnIXIWYjniktO0q7buR8m7WSGpyc6b7ApLpzU=; b=X5erIQcrLcuE8sJn6oSUWT32UL nk0JjdD0QXt+xmmTysZzF4fPexyTjOpNoaBNVrpFWdQK+oTfgbqLh/ckslgulnNQwSSmKZD1LTnE0 +qJBQLRtkLOiCluJ3BlKYWK1PU/GoDCly3JMCSMiqNjNBBUMNq8UmRZ3hZGhjui7MsDQ=; 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 1l30qy-0003cs-63 for control@debbugs.gnu.org; Fri, 22 Jan 2021 19:08:14 +0100 Date: Fri, 22 Jan 2021 19:08:11 +0100 Message-Id: <87ft2s26b8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #45925 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 45925 fixed close 45925 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 45925 fixed close 45925 28.1 quit