🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90260

Re: Encoding madness

#90260
From: Julien ÉLIE
Date: Tue, 11 Apr 2023 10:12
34 lines
2468 bytes
Hi Nigel,

> Next is a little more of a challenge. Trying to sync the descriptions.
> It wouldn't be so bad if everyone used the same encoding, however the
> majority are using ISO-8859-1, a couple are using UTF-8, some using
> ASCII and one is Non-ISO extended-ASCII.

FWIW, the descriptions encoded in UTF-8 from the ftp.isc.org newsgroup 
file are here:
   http://usenet.trigofacile.com/hierarchies/data/newsgroups.utf8

It may facilitate your life :-)

The conversions I found out to work are:
- cn.* and han.* are encoded in gb18030;
- fido7.*, medlux.* and relcom.* in koi8-r;
- ukr.* in koi8-u;
- nctu.*, ncu.* and tw.* in big5;
- scout.forum.chinese and scout.forum.korean in big5;
- eternal-september.*, fido.* and fr.* in utf-8;
- all the others fit well in cp1252.


> Going forward, maybe the powers that be can get their heads together
> and enforce a certain coding standard for innd (and whatever else is
> out there) that is at least maintained.

UTF-8 is the expected encoding for the descriptions returned by a LIST 
NEWSGROUPS command in the NNTP protocol.

-- 
Julien ÉLIE

« Et maintenant, la balle est dans le camp des slalomeurs. »
Technical Details
Message-ID: <u13bpj$188ar$3@news.trigofacile.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
References: <20230411014437.0aef1026@wibble.sysadmininc.com>

Show Full Headers
Complete Article Headers
Message-ID: <u13bpj$188ar$3@news.trigofacile.com>
Subject: Re: Encoding madness
Date: Tue, 11 Apr 2023 12:12:03 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.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
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 11 Apr 2023 10:12:03 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105"; logging-data="1319259"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1
Cancel-Lock: sha1:IpmRG7QC43E8UZyezqNlsULr9GI= sha256:inIudjpqJ9HcQGIpHJ+nDSXiwm3cn7QL9eqz1cWOqvk= sha1:F/sgGmVIFplXlIARB9GyVsMwX/4= sha256:nMXAY/ofjf1jX0dwngz19c553dpOrnWJkSLNRj8358w=
In-Reply-To: <20230411014437.0aef1026@wibble.sysadmininc.com>