Article View: news.software.nntp
Article #90257Re: Encoding madness
From: Franck
Date: Tue, 11 Apr 2023 07:51
Date: Tue, 11 Apr 2023 07:51
37 lines
2300 bytes
2300 bytes
Hello, > I'm trying to sync up the active and newsgroups file from 15 peers and > it's proving to be a bit of a challenge. Hum, I rather say : "It's a f***ing challenge"! > Next is a little more of a challenge. Trying to sync the descriptions. > I know there isn't a standard encoding for the newsgroup file but that > may have been a bit of an oversight now that some people are trying to > run a clean server. Since my server has a graphical interface that displays group names and descriptions, I need to be able to know which encoding is used. To solve the problem, I use a small file that records the hierarchies with the encoding used. Either I get it from the cmsg checkgroup of some hierarchies that mention it (notably fr), or I fix it by hand. This file is very simple. It mentions the hierarchy and the encoding used, separated by a TAB. Maybe adding an identical file to "active" and "newsgroups" ones would do the trick? ## ## This file lists the charsets used by hierarchies. ## ## Format: hierarchie<TAB>charset cn Big5 fr UTF-8 And so on. ? Franck
Technical Details
Message-ID:
<DLEZ+IfTYqQ@news.spitfire-nntp.fr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<20230411014437.0aef1026@wibble.sysadmininc.com>Show Full Headers
Complete Article Headers
Message-ID: <DLEZ+IfTYqQ@news.spitfire-nntp.fr> Subject: Re: Encoding madness Date: Tue, 11 Apr 2023 09:51:12 +0200 From: Franck <franck@email.invalid> References: <20230411014437.0aef1026@wibble.sysadmininc.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Mime-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Newsgroups: news.software.nntp Content-Language: fr In-Reply-To: <20230411014437.0aef1026@wibble.sysadmininc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 11 Apr 2023 07:51:12 +0000 (UTC) Injection-Info: news.spitfire-nntp.fr; logging-data="C643511701e1f85bc"; mail-complaints-to="abuse(at)spitfire-nntp.fr" Cancel-Lock: sha1:TL0CR9nxUEXjiQuVs4DfEibe7G4= sha256:6f0MGe5w5b60L9dfCRBLfzBEEiaq9f7Vs9v2jbSGZqQ= sha1:LyEXUYChZRg9WM7E1eMIlFUqktE= sha256:63NSyp/wbzBC13CbpKCV1tK6eAzs+4WgBUzj/ZWn65Q= Organization: Home of Spitfire News Server, Montpellier (France)