From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Gnus; Restore multi encoding support for NNTP Date: Sat, 01 Jan 2022 08:58:57 +0200 Message-ID: <83tueoeyby.fsf@gnu.org> References: <87wnjqb62b.fsf@gnus.org> <87sfueb3y1.fsf@gnus.org> <87wnjm6tbs.fsf@gnus.org> <874k6o7okc.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9363"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eric@ericabrahamsen.net, larsi@gnus.org, emacs-devel@gnu.org To: LdBeth Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 01 08:00:55 2022 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 1n3YNq-0002F9-3n for ged-emacs-devel@m.gmane-mx.org; Sat, 01 Jan 2022 08:00:54 +0100 Original-Received: from localhost ([::1]:54982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3YNp-0003sG-4P for ged-emacs-devel@m.gmane-mx.org; Sat, 01 Jan 2022 02:00:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3YLz-0001h5-VD for emacs-devel@gnu.org; Sat, 01 Jan 2022 01:59:00 -0500 Original-Received: from [2001:470:142:3::e] (port=53874 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3YLz-0005oa-C6; Sat, 01 Jan 2022 01:58:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=M4yG3gILGtrZQ03YjzlKeQmxu2GM6ef+c7MpKaeRPwU=; b=Arhd27JSW8Dl kO50Q7NYBkZG3ZQjhIK8UpdvQ16cNFBLbmI6FIlD5ITC5V7Zlc//sFh4OevhsLjaQkDg276pmJnTk KIZk9HaH3JGXYCt25+iC+DH3+E9TCdB91GP2Hg408XM7EYWbnQS+2EWNira6NsqIQmtAmRx31PKqo 2cbhKBWg05G4ACikrT5N8MJG7KAm1RQHwyakbu9A0i8i8Ur5liqgmhFiWA8KDJQCUoYAq/3uP1fX6 EBNt81SsUL4TXvj57VgZSiFFQ6W6tPdTNlQIf8ZDa3Zn5uDe0q4FIT3U9iMJB1e5ThXssqYqFz+f6 XsFfDH+CnlUhucLUCwJ/CA==; Original-Received: from [87.69.77.57] (port=4409 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3YLz-0004XJ-6Y; Sat, 01 Jan 2022 01:58:59 -0500 In-Reply-To: (message from LdBeth on Sat, 01 Jan 2022 10:11:12 +0800) 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:283783 Archived-At: > Date: Sat, 01 Jan 2022 10:11:12 +0800 > From: LdBeth > Cc: Eric Abrahamsen , LdBeth , > Emacs Devel > > I have now figured how to write text property into .newsrc.eld: Gnus > does extra UTF-8 encoding when save group names, since it is now > already using UTF-8 encoding internally, I think it would be safe to > just remove that. If by "using UTF-8 internally" you mean the internal representation of buffer text and strings, then encoding is still needed for correct handling of codepoints outside of Unicode.