🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #260709

Re: [Dialog] Unicode capabilities

#260709
From: Adam H. Kerman
Date: Thu, 14 Jul 2016 17:53
71 lines
4659 bytes
Michael michael.baeuerle@gmx.net wrote:
>Adam H. Kerman wrote:
>>michael.baeuerle@gmx.net wrote:

>>>Internally flnews supports Unicode in the sense that it can verify the
>>>encoding and apply normalization (currently NFC according to Unicode
>>>9.0). For incoming data UTF-8 and UTF-16BE (UTF-7 technically is Base64
>>>encoded UTF-16BE) transformation formats are supported (failing to
>>>correctly decode UTF-16 transformation format seems to be the reason why
>>>Dialog can't post valid UTF-8 for codepoints beyond the BMP). Converting
>>>ISO 8859 to Unicode is also implemented. This means it is possible to
>>>quote such content correctly even it FLTK is not able to display it (see
>>>below).

>>Can I just point out the obvious? This transformation requires unreasonable
>>assumptions, relying on precursor articles to have used standard MIME
>>headers to describe the article bodies.

>Yes. If the character set is not declared, and not the default
>(US-ASCII), it can be guessed or the invalid/undefined characters can
>be ignored (this is what flnews does) and the user have to repair it by
>hand.

>But it is not the fault of a newsreader if it has to guess, ignore or
>replace something (because the article is not standard compliant).

I'm not blaming the newsreader. I'm blaming other people who make a lot
of work for everyone else by mismarking their characters sets used and
failing to transform quotes into the currect set. I'm just saying
that the newsreader is over-promising.

>>It's possible, hell, common to
>>post a followup to an article with quotes from multiple authors from
>>precursor articles in which characters sets WERE NOT transformed into
>>whatever character set the immediate precursor article claims is in use.

>In the groups I read it happens rarely (>90% of the articles don't have
>such problems).

You don't get people switching between ISO-8859-1 and UTF-8?

>>And then, of course, if one of the authors posted through Google Groups,
>>his article is filled with non-plain-text characters like non-breaking
>>space which can't be seen by the naked eye unless one does what I have
>>to do to make them visible to get rid of them, deliberately display text
>>using a translation that doesn't include the inappropriate character.

>In general I have no problems with Google articles. They have some kind
>of flowed format with missing line breaks, but Charset-Declaration
>is present (and in general correct).

They're encoded. They're full of non-printing characters that are
used improperly in plain text. It's lots of extra work for me.

>>Given that one or more persons along the chain of precursor articles
>>has messed up, the only way for your article to describe the character
>>set in use in a standard way is to manually delete all the offending
>>and mismatched characters in the quotes.

>>Posting a standard followup article can require correcting a lot of past
>>mistakes, and there's no perfect way of doing that in an automated manner
>>without eyeballing it.

>>Let's not kid ourselves.

>I fully agree with you. Maybe my statement above was not clear enough:
>It belongs to standard compliant articles and if things are declared
>correctly, the described operations are working automatically and give
>correct results.

>Some articles in this thread demonstrate the behaviour.
Technical Details
Message-ID: <nm8jia$e0s$1@news.albasani.net>
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: <nli1e8$hi6$1@news.mixmin.net> <AABXh15wK74AABXd.A1.flnews@WStation5.stz-e.de> <nm86av$fg1$1@news.albasani.net> <AABXh6fpK8MAABXd.A1.flnews@WStation5.stz-e.de>

Show Full Headers
Complete Article Headers
Message-ID: <nm8jia$e0s$1@news.albasani.net>
Subject: Re: [Dialog] Unicode capabilities
Date: Thu, 14 Jul 2016 17:53:14 +0000
From: "Adam H. Kerman" <ahk@chinet.com>
References: <nli1e8$hi6$1@news.mixmin.net> <AABXh15wK74AABXd.A1.flnews@WStation5.stz-e.de> <nm86av$fg1$1@news.albasani.net> <AABXh6fpK8MAABXd.A1.flnews@WStation5.stz-e.de>
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
Organization: albasani.net
Lines: 71
X-Trace: news.albasani.net LT8ovHeJZoshTJ+SLqyx3neNzvNQ1NXd4r3T7/NR95ZmUQnVPTH+U/HEEJm9lYBxU9bpMddaLcQ4uajaCOE6uKzFHDTF7dyUHfkvgSlVFCtEmf2rEVhc8igamght8mkr
NNTP-Posting-Date: Thu, 14 Jul 2016 17:53:14 +0000 (UTC)
Injection-Info: news.albasani.net; logging-data="kG4Fs8dukbmyHjvkE3Ex3zLfd6HmRUo0zKtCDCgybAMtKmjSv00R8Gqf7w4eC0iSBB9RFv0o2RbquhXrX1QMravgk7vr6lR0eubQHRiiOWVOVEoq0fv+foN2hFrzxHb1"; mail-complaints-to="abuse@albasani.net"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Cancel-Lock: sha1:vLZxFD2vZHTZsbQ4V2yPW9HQFDQ=
X-Received-Body-CRC: 3308424011
X-Received-Bytes: 4564