🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262609

Re: UTF-8 support

#262609
From: Michael Bäuerle
Date: Sat, 24 Mar 2018 08:31
32 lines
2482 bytes
Eli the Bearded wrote:
> In news.software.readers, Michael Bäuerle  <michael.baeuerle@gmx.net> wrote:
> > 
> > This is another related problem: Your (RFC 2047) MIME decoder worked
> > correctly, but your newsreader has not applied UTF-8 to the codepoint
> > U+00E4 ("ä") as required with the "charset=UTF-8" parameter in the
> > "Content-Type" headerfield.
> 
> I'm using trn4 with vim. trn4 is not charset aware, but it has limited
> MIME support and mostly works.  Vim is UTF-8 aware, but is also:
> 
> From: Michael =?ISO-8859-1?Q?B=E4uerle?= <michael.baeuerle@gmx.net>
> 
> ISO-8859-1 aware. I am not in the habit of manually checking the
> encoding, but maybe I should be.

Maybe you can run a script that checks the UTF-8 encoding before posting
the article. In your last article it would have warned you that the
single 0xE4 byte violates the UTF-8 encoding rules.

> UTF-8 is what I typically encounter.

Today UTF-8 is the right choice. I nevertheless use ISO-8859-1,
if possible, because there are so many newsreaders (old versions
of Crosspoint, MesNews and others) which have MIME support that
is only working correctly with 8bit codepages (but not with UTF-8).

> Elijah
> ------
> has patched his trn4 to be less damaging to UTF-8

Thanks for doing this.
Technical Details
Message-ID: <AABatgzHFwsAAAuF.A1.flnews@Server4.micha.freeshell.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <39bcfb4a-2149-4386-8847-6d56156f3646@googlegroups.com> <AABatCNTFv8AAAt/.A1.flnews@Server4.micha.freeshell.org> <eli$1803222232@qaz.wtf> <AABatN0sAJwAAABK.A1.flnews@WStation5.stz-e.de> <eli$1803231607@qaz.wtf>

Show Full Headers
Complete Article Headers
Message-ID: <AABatgzHFwsAAAuF.A1.flnews@Server4.micha.freeshell.org>
Subject: Re: UTF-8 support
Date: Sat, 24 Mar 2018 08:31:03 -0000
From: Michael Bäuerle <michael.baeuerle@gmx.net>
References: <39bcfb4a-2149-4386-8847-6d56156f3646@googlegroups.com> <AABatCNTFv8AAAt/.A1.flnews@Server4.micha.freeshell.org> <eli$1803222232@qaz.wtf> <AABatN0sAJwAAABK.A1.flnews@WStation5.stz-e.de> <eli$1803231607@qaz.wtf>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Lines: 32
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net KH0Rnqf8qmrmNn6efeNECQufB8bJ3AWOjADbhlJGlN+bkGsTdJ
X-Orig-Path: not-for-mail
Cancel-Lock: sha256:vKqXwsyBw28BpTtCm8E5IP3I8CTeIdyLLsSPkJ5xBSc= sha1:tjX6P46R1y5EjlnXnQ9ZQMXKoeU=
Injection-Date: Sat, 24 Mar 2018 08:31:03 -0000
User-Agent: flnews/0.15 (for HP-UX)
X-Received-Bytes: 2369
X-Received-Body-CRC: 461035002