🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90276

Re: Encoding madness

#90276
From: news
Date: Tue, 11 Apr 2023 22:00
64 lines
4310 bytes
Nigel Reed <sysop@endofthelinebbs.com> wrote:
> This becomes a problem when trying to do a diff or other operations
> trying to match group names.

My opinion is that newsgroup names should be purely ASCII (there are many
benefits to this, and using non-ASCII characters in newsgroup names and
domain names and commands and configuration files can cause many problems,
including security issues (especially if any Unicode-based encoding is
used; non-Unicode has less security issues, but still is not worth it to
use non-ASCII in these cases), comparisons, input, etc).

Descriptions for non-English newsgroups, and non-English articles in such
newsgroups, should probably use the appropriate encodings for those
languages, rather than ASCII only (it is not as problematic to use
non-ASCII characters in newsgroup descriptions, and there are clearly
benefits to doing so in some cases, so it should be permitted in
descriptions and in articles; however, if the text is English only then
it is almost always more beneficial to stay to ASCII only, I think).

> 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. Personally, I don't care which
> one we end up with, ISO-8859 seems to be the far more popular (7
> servers) followed by ASCII (4) then UTF-8 (3) .

Well, fortunately, ISO-8859-1 and UTF-8 are both supersets of ASCII, so
if you use ASCII as much as possible then it will still work. (But, I
really hate Unicode; it is full of problems, including Han unification
and other complications; and it is a stateful character set even though
the encoding is stateless. TRON character code is better in some ways
(especially for Japanese text), and I have done some work using this.)

However, also, enforcing a certain coding standard (regardless of what it
might be, whether it is Unicode or TRON or something else) can be a problem
when you will need other encodings for a reason not previously known by
whoever enforced them. Making recommendations can be helpful though, but I
think that ASCII should be used when possible, and in some contexts (e.g.
the names of the commands, etc, in the computer programming) should be
required to be ASCII only.

It might also be worth to mention what character encodings it uses in the
CAPABILITIES, on servers where that is applicable. (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.)

Many people, they just want to put Unicode in everything, without actually
understanding Unicode or international text or security or anything else,
and this just makes a mess (especially since Unicode itself is messy, but
even if using something else, just putting it in without any consideration,
does not substitute for actual understanding). So, don't do that, please.

(And, for Usenet client programs intended for PC (if using DOS or other
text-mode programs), use of PC character set may be beneficial.)

(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.)

-- 
Don't laugh at the moon when it is day time in France.
Technical Details
Message-ID: <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
References: <20230411014437.0aef1026@wibble.sysadmininc.com>

Show Full Headers
Complete Article Headers
Message-ID: <1681245447.bystand@zzo38computer.org>
Subject: Re: Encoding madness
Date: Tue, 11 Apr 2023 15:00:29 -0700
From: news@zzo38computer.org.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: A noiseless patient Spider
Lines: 64
Mime-Version: 1.0
User-Agent: bystand/1.3.0pre1
Cancel-Lock: sha1:Pyilmis3dXi+WfF4s/nJox+Z1JQ=