emacs-devel
[Top][All Lists]
Advanced

[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 11:35:06 +0200

> Date: Sat, 01 Jan 2022 17:26:00 +0800
> From: LdBeth <andpuke@foxmail.com>
> Cc: LdBeth <andpuke@foxmail.com>,
>       eric@ericabrahamsen.net,
>       larsi@gnus.org,
>       emacs-devel@gnu.org
> 
> >>>>> In <83mtkfg7g1.fsf@gnu.org> 
> >>>>> Eli Zaretskii <eliz@gnu.org> wrote:
> 
> >> 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.
> 
> Eli> You are saying that encoding by utf-8-emacs is a no-op?  AFAIR, that's
> Eli> not true.
> 
> I mean, there should be no problem `prin1' any emacs strings to a file
> saved using utf-8-emacs coding, and correctly `read' them back given
> the file has `-*- coding: utf-8-emacs -*-` header line.

That's fine.  I thought you were suggesting not to encode the text
written to a file at all.  Apologies for my misunderstanding.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]