[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Gnus; Restore multi encoding support for NNTP
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] Gnus; Restore multi encoding support for NNTP |
Date: |
Sat, 01 Jan 2022 10:56:46 +0200 |
> Date: Sat, 01 Jan 2022 16:34:12 +0800
> From: LdBeth <andpuke@foxmail.com>
> Cc: eric@ericabrahamsen.net, LdBeth <andpuke@foxmail.com>, larsi@gnus.org,
> emacs-devel@gnu.org
>
> >>>>> In <83tueoeyby.fsf@gnu.org>
> >>>>> Eli Zaretskii <eliz@gnu.org> wrote:
>
> >> 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.
>
> Eli> If by "using UTF-8 internally" you mean the internal representation of
> Eli> buffer text and strings, then encoding is still needed for correct
> Eli> handling of codepoints outside of Unicode.
>
> Gnus already uses `utf-8-emacs' coding to save the newsrc.eld file for
> a while. According to the Elisp manual, that is the coding system
> that can handle the internal codepoints used by Emacs.
You are saying that encoding by utf-8-emacs is a no-op? AFAIR, that's
not true.