emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus; Restore multi encoding support for NNTP


From: LdBeth
Subject: Re: Gnus; Restore multi encoding support for NNTP
Date: Tue, 28 Dec 2021 23:43:16 +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 <87mtkkajlk.fsf@gnus.org> 
>>>>>   Lars Ingebrigtsen <larsi@gnus.org> wrote:
Lars> LdBeth <andpuke@foxmail.com> writes:

>> That won't work in certain case, say, there's a group name on a server is
>> "nntp+news.newsfan.net:\346\265\213\350\257\225" (in UTF-8)
>> while the rest group names on that server are in GBK, so I set
>>
>> ```
>> (setq gnus-group-name-charset-group-alist
>>        '(("\346\265\213\350\257\225" . utf-8)
>>          ("news\\.newsfan\\.net" . gbk)))
>> ```
>>
>> And it's not able to use that to correct encode the names.

Lars> I think it should be?  (But the mechanism would have to do the matching
Lars> in some coding system (or as octets) in both cases.)

Ah, yes, I get what you mean. It is possible to decode
"\346\265\213\350\257\225" first and match the stored group name in
utf-8, but that won't still solve the "many group names decodes to one
utf-8 name" problem.

-- 
LDB



reply via email to

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