[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52792: 27.2; please don't hardcode utf-8 when fetching group list
From: |
LdBeth |
Subject: |
bug#52792: 27.2; please don't hardcode utf-8 when fetching group list |
Date: |
Sun, 26 Dec 2021 17:49:56 +0800 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojō) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.2 (x86_64-apple-darwin18.7.0) MULE/6.0 (HANACHIRUSATO) |
>>>>> In <83tuevq28p.fsf@gnu.org>
>>>>> Eli Zaretskii <eliz@gnu.org> 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