Article View: news.software.nntp
Article #90289Re: Encoding madness
From: Julien ÉLIE
Date: Thu, 13 Apr 2023 07:08
Date: Thu, 13 Apr 2023 07:08
31 lines
2654 bytes
2654 bytes
Hi Adam, >> FWIW, INN does not enforce UTF-8 in the descriptions of newsgroups. You >> can use any encoding you want for them. > > The newgroup or checkgroups messages could have MIME headers specifying > the character set but these won't survive processing, so a big text file > will have multiple unspecified encodings. Aargh. My sentence was not about the process of control messages (for which the encoding in MIME headers are correctly parsed, and the descriptions actually converted to UTF-8 for homogeneity purpose). The descriptions of newsgroups for which control articles are sent end up in UTF-8. Besides, there's a /localencoding/ setting in control.ctl to parameterize the resulting encoding. The default is UTF-8 but one may change it to another encoding if he wants. https://www.eyrie.org/~eagle/software/inn/docs/control.ctl.html My sentence was just about the encoding of the newsgroups file; INN will provide its contents as-is when being requested the descriptions. If it has multiple unspecified encodings (big5, iso-8859-xx, utf8, cp1252...), it will provide them as-is. It won't try to convert them on the fly. -- Julien ÉLIE « – Laissons-lui notre char et prenons le sien… – Oui, ça nous dépannera… » (Astérix)
Technical Details
Message-ID:
<u189ou$1cs7i$1@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-mailReferences:
<20230411014437.0aef1026@wibble.sysadmininc.com> <1681245447.bystand@zzo38computer.org> <u15pee$1aneb$1@news.trigofacile.com> <u168t2$31asn$1@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <u189ou$1cs7i$1@news.trigofacile.com> Subject: Re: Encoding madness Date: Thu, 13 Apr 2023 09:08:14 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <20230411014437.0aef1026@wibble.sysadmininc.com> <1681245447.bystand@zzo38computer.org> <u15pee$1aneb$1@news.trigofacile.com> <u168t2$31asn$1@dont-email.me> 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: Thu, 13 Apr 2023 07:08:14 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="1470706"; 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:lDUBNHb+nGXxgImmjnQMJo333FM= sha256:2ekFRRoRw/kKSPsInmZ/2ilCci9fvdeS9/x5I2Np0uU= sha1:pahQ0M/H1ITekL14ESma7sQ/Oqo= sha256:dHOyWIlvMcz8SBrBWsdGTtrJ2BHJ3DtFYy7HVpZ6qPE= In-Reply-To: <u168t2$31asn$1@dont-email.me>