From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: LdBeth Newsgroups: gmane.emacs.devel Subject: Re: Gnus; Restore multi encoding support for NNTP Date: Tue, 28 Dec 2021 23:43:16 +0800 Message-ID: References: <87wnjqb62b.fsf@gnus.org> <87sfueb3y1.fsf@gnus.org> <87mtkkajlk.fsf@gnus.org> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18637"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.2 (x86_64-apple-darwin18.7.0) MULE/6.0 (HANACHIRUSATO) Cc: Eric Abrahamsen , LdBeth , Emacs Devel To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 28 16:44:00 2021 Return-path: Envelope-to: ged-emacs-devel@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 1n2Edr-0004hN-DK for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Dec 2021 16:43:59 +0100 Original-Received: from localhost ([::1]:34506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2Edq-0007JU-En for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Dec 2021 10:43:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2EdJ-0006eg-9w for emacs-devel@gnu.org; Tue, 28 Dec 2021 10:43:25 -0500 Original-Received: from out203-205-221-235.mail.qq.com ([203.205.221.235]:38007) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2EdH-0004YM-5Q for emacs-devel@gnu.org; Tue, 28 Dec 2021 10:43:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1640706198; bh=g651jvsAHuIit4myVMmK0RO21f32kVOQyKKtWBkaE5M=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=XSMit8al+gHJxj+wIpgSoeLpue5SPnp624goggylhY1SncKjKjm4NOtNodyxD4hG9 b/vFeBvDh0MVPaAIklavZOQ8UTrjvfMu3ZS3Cem3VGbhUmOEmfTfQcwrm1OoAcVF/V I+8qT3IvNNIX34pJtcvnHtbzqYFi4U12hSruDla8= Original-Received: from Costume-Party.local ([115.215.90.6]) by newxmesmtplogicsvrszc11.qq.com (NewEsmtp) with SMTP id AD117A55; Tue, 28 Dec 2021 23:43:17 +0800 X-QQ-mid: xmsmtpt1640706197tss606anm X-QQ-XMAILINFO: NqN/wpVFVRYXB7IjZaZx30T+pGnqVJuL7EQ2PgSV2enIqiYX9DrZHqZTecYN+e /UVaSEAoOsK2HD3JJ/Wk3PCB8L2eUtzLQqvWCRIcxbXI61dPVrkuq9iepOz8/9ZNS8AryVzTPUBw sv02YJ8hVeBBBiWHSNYBhrjY7GzbbwNAN0Zqk1s94Vi3+Z/POt20xA0pV9VdY6P4Zg7G69mWjEKA 0pA/ZIv9PRag8w5+RAPZsX1SIiH9nihlZTIERvKSmsbVEru9CLrSp/S9M6yC59w0AxTVaesYkNaK mpk94h5Iv+vQQwbTi9YVjz5QBvWhsvVc+75kVg1fSO+ZxYJ9ecX/v2zx740Vhya0/oK3FF/3Q3+3 P+pal88FF8hjNcbEs9vNdk87/OnL6C6tkInPfTxe7kx8lfMF6qOlWfsjbMqEhNhfgI3PHbQNE/Kg FO1s7v072w+Ssd82hoZWgyeim1gx8lT5A8HXbQ8Hu6IF0o7Y6/J3Dc+F37bi1nPLUx7XjWaDBiKk lyC8gK2mSpTPtNB0HlDa0DH0AyEA0v+r6Iei2dmkgPocqNz93wlVBvbe6jLnTBOrHwQxYSo5P0Nq YZ7A7IrL7NoRRqYZI0MEqf1RXLnsmxE8f1Ga+h/PHnYvYJPyPhJ0WCp1Cp7cYEvT64vKO3aN/Lml /wr+WRdTb3F7RKv3W5jtPlaYUjvR10S/uRbJYOeEfjKPRT0OxVhpbJXMf7idsKxWBvugc1wAIJCG kzkudbs2nYfHHp/c4vistZiQFj4qXd4ELK7bZiwelGjQphGp91c5YsGYO2/MPck97dNgmKubQkyI NxrGZTCJ5RRULLpF1umgTqUoTTaStfODroe2clur Original-Received: by Costume-Party.local (Postfix, from userid 501) id 07EB1203D50D31; Tue, 28 Dec 2021 23:43:16 +0800 (CST) X-OQ-MSGID: In-Reply-To: <87mtkkajlk.fsf@gnus.org> X-Face: %[!P\u/BKFRGn_9h9|yO"ho?C0ej^LmM}WMb-`Jfj8OsS^^AKmHYGlD@^|7SEA3UzOGPFbB"OFczY?'\JtJ\lR'@&Y5j; s8{$&|3D>^i.U4l2h?1qpD.+{[$~j]vBeHZf^|BGyL8{/`4 X-Attribution: ldb Received-SPF: pass client-ip=203.205.221.235; envelope-from=andpuke@foxmail.com; helo=out203-205-221-235.mail.qq.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 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, FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283513 Archived-At: >>>>> In <87mtkkajlk.fsf@gnus.org> >>>>> Lars Ingebrigtsen wrote: Lars> LdBeth writes: >> That won't work in certain case, say, there's a group name on a server is >> "nntp+news.newsfan.net:\346\265\213\350\257\225" (in UTF-8) >> while the rest group names on that server are in GBK, so I set >> >> ``` >> (setq gnus-group-name-charset-group-alist >> '(("\346\265\213\350\257\225" . utf-8) >> ("news\\.newsfan\\.net" . gbk))) >> ``` >> >> And it's not able to use that to correct encode the names. Lars> I think it should be? (But the mechanism would have to do the matching Lars> in some coding system (or as octets) in both cases.) Ah, yes, I get what you mean. It is possible to decode "\346\265\213\350\257\225" first and match the stored group name in utf-8, but that won't still solve the "many group names decodes to one utf-8 name" problem. -- LDB