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.bugs Subject: bug#52792: 27.2; please don't hardcode utf-8 when fetching group list Date: Sun, 26 Dec 2021 17:49:56 +0800 Message-ID: References: <83tuevq28p.fsf@gnu.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="39686"; 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 (=?UTF-8?Q?Goj=C5=8D?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.2 (x86_64-apple-darwin18.7.0) MULE/6.0 (HANACHIRUSATO) Cc: LdBeth , 52792@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 26 10:53:13 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 1n1QDJ-000A4n-6M for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Dec 2021 10:53:13 +0100 Original-Received: from localhost ([::1]:52144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1QDH-0001oV-5f for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Dec 2021 04:53:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1QBC-0000RP-OS for bug-gnu-emacs@gnu.org; Sun, 26 Dec 2021 04:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1QBC-00072D-Ey for bug-gnu-emacs@gnu.org; Sun, 26 Dec 2021 04:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1QBC-00038V-83; Sun, 26 Dec 2021 04:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: LdBeth Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sun, 26 Dec 2021 09:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52792 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 52792-submit@debbugs.gnu.org id=B52792.164051221411982 (code B ref 52792); Sun, 26 Dec 2021 09:51:02 +0000 Original-Received: (at 52792) by debbugs.gnu.org; 26 Dec 2021 09:50:14 +0000 Original-Received: from localhost ([127.0.0.1]:40246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1QAQ-00037B-3v for submit@debbugs.gnu.org; Sun, 26 Dec 2021 04:50:14 -0500 Original-Received: from out203-205-251-60.mail.qq.com ([203.205.251.60]:34421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1QAL-00036D-KH for 52792@debbugs.gnu.org; Sun, 26 Dec 2021 04:50:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1640512200; bh=Nw7fxQYeuqlNhkO7RqfnynbW0tn1kgWp/96aj2z5VtE=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=nbvTF5y+JOwm5BIABnV1JPWfsnEtTkSrdeO9UiZq/SDSC6x1IFAJAMb2VsFQ+NTyI Xlu7E2ZAWYlfiUq3hGm4ILSd6osUxcKtpPpxCYBQcyUOqpcytZduX8MQGziX6Uk09w ods4CDvxPR0vi5vmfdW1xFyORZQLn7aoNOspLOz0= Original-Received: from Costume-Party.local ([125.111.91.142]) by newxmesmtplogicsvrszb7.qq.com (NewEsmtp) with SMTP id C7AAFC90; Sun, 26 Dec 2021 17:49:58 +0800 X-QQ-mid: xmsmtpt1640512198tuzop8g2w X-QQ-XMAILINFO: N4WhQbLQyIqSdDksl1JNBYmZ+tw01EEB+86kYOQtJ2M0urcp6TRZWg05eaMR9I ET/7WDWaqTUl2hOBjc9BZ5frp1caqc8W2Wn50O/89Oehh/7iN4M31+7Zg7o4AlaDqbt64gVgJGGb 8UGkcjquTyM0QVLM7nUf1a6SPdg3Gd5jfobnBO6656bO7UZahHstf9/pQ57ydUVTX0qvf/1ZLHwv w0TIl5UsmAfMbXXxdBLK2/lkqSSTGMJXNNbE9OLHJLA/SbQpmk1invywpZwkAF5qse6DhbpybxUU 4FYS5QfFER7EC/DmL++peCRCNIVKciGQmTTTyM4SRjY3/m6Aa5GYxKRu9fUIwvi9ylSjt0BdeMJI IIriSz0ft2X3j/c79YgL4sFudUC+geT5lxWwzceDxr6cPOoMWkkGjOF1Y7UQ/nNbQQyH06RDIYSS Cee9Cvt3oULoPASvmDVAnScnDabxuLtH1TCx7K/yqG12IjroHZ7IR9ebmZwuEaB5SCCuTzhTuEn3 H8FcQUWFExX+Xao4NdAJsvZ7WM5hj+JzpBf/gVO5wg/qRK2o6LsMgjslV400ETj3zQOY1Xgk327v 2UA8u6KkQ2RNTCm5jPeXzhtHCYrNFWQElDzzNGcgdKEFkIPn0RTSAJvqNvT5ncNf2IZgPFxoG3Qd alwHD2114RfQ3ZSZQZA02+EEi3gaaOrp0yAURasiAT0H6UI69O/dgHA8pHg43CA3e2Cd5bCAopsK yALntBXtfp53Hwc/BW69hCIo8rJG5I7ks5cVbMpHRHZpk6yTNDQ7Z1exdO6zEywWEs10A1Pz7VVp AiOVEE3C7Mayxb4aeFDlnqO2NiF1NTW8Y= Original-Received: by Costume-Party.local (Postfix, from userid 501) id 9F000203D3C821; Sun, 26 Dec 2021 17:49:56 +0800 (CST) X-OQ-MSGID: In-Reply-To: <83tuevq28p.fsf@gnu.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 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:223138 Archived-At: >>>>> In <83tuevq28p.fsf@gnu.org> >>>>> Eli Zaretskii wrote: > Thanks, but this is not the right way to solve such problems, IMO. We > should either make the coding-system be customizable as a simple > value, or (better) have a more complex data structure that allows to > specify the encoding for each NNTP server (or for servers matching > some regexp), with UTF-8 being the default. Right, it would be more desirable to use UTF-8 internally, rather than doing ad-hoc encoding translation everywhere. > Also, AFAICT, Gnus currently uses more than a single variable to hold > the coding-system it uses for decoding stuff in different situations, > so some changes will probably be needed to use a single customizable > value everywhere. Currently the encode/decode functions in message.el works fine for GBK, this bug would not affect people who are only using Gnus for IMAP/Maildir. It would still better leaving these two systems (News and Messages) separated. Today most email services are already switched to UTF-8. It's only that many NNTP servers are still using the old encoding for legacy reasons. -- LDB