Article View: news.software.nntp
Article #90277Re: Encoding madness
From: Julien ÉLIE
Date: Wed, 12 Apr 2023 08:17
Date: Wed, 12 Apr 2023 08:17
42 lines
3216 bytes
3216 bytes
Hi all,
> The RFC says that it
> should be UTF-8, but I think that this is a mistake in the design of the
> protocol. Capabilities and commands should be pure ASCII, but this should
> not mean that any text in articles, descriptions, MOTD, etc has to be pure
> ASCII; it can use other character sets, including the possibility of ones
> which might be incompatible with Unicode, and including TRON codes too.
We need an interoperable way to provide texts.
Please note RFC 2277 (BCP 18) about charsets:
Protocols MUST be able to use the UTF-8 charset, which consists of
the ISO 10646 coded character set combined with the UTF-8 character
encoding scheme, as defined in [10646] Annex R (published in
Amendment 2), for all text.
Protocols MAY specify, in addition, how to use other charsets or
other character encoding schemes for ISO 10646, such as UTF-16, but
lack of an ability to use UTF-8 is a violation of this policy; such a
violation would need a variance procedure ([BCP9] section 9) with
clear and solid justification in the protocol specification document
before being entered into or advanced upon the standards track.
For existing protocols or protocols that move data from existing
datastores, support of other charsets, or even using a default other
than UTF-8, may be a requirement. This is acceptable, but UTF-8
support MUST be possible.
> (I run a NNTP server with my own newsgroups, which are not (currently)
> considered part of Usenet, and currently have no need for non-ASCII
> descriptions, but in future if it does, then I will consider what to do.
> However, I also don't use INN, anyways.)
FWIW, INN does not enforce UTF-8 in the descriptions of newsgroups. You
can use any encoding you want for them.
--
Julien ÉLIE
« Ils ont refusé une offre de Normand ?!? » (Astérix)
Technical Details
Message-ID:
<u15pee$1aneb$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>Show Full Headers
Complete Article Headers
Message-ID: <u15pee$1aneb$1@news.trigofacile.com> Subject: Re: Encoding madness Date: Wed, 12 Apr 2023 10:17:18 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <20230411014437.0aef1026@wibble.sysadmininc.com> <1681245447.bystand@zzo38computer.org> 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: Wed, 12 Apr 2023 08:17:18 -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="1400267"; 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:IkFwtnTa65oan40IwpbuBRrrkDA= sha256:Zde84nN2BPnI4M80E6UjHTKCU/GCK1mV7QHPza1GNVQ= sha1:BdJAq3T46uPr0iQlwt/uO63JZ2k= sha256:9BzBNAgSBGAZvF6nNJLQL+RpE6yMB6iocvN+PVUGUjs= In-Reply-To: <1681245447.bystand@zzo38computer.org>