Article View: news.software.readers
Article #260701Re: [Dialog] Unicode capabilities
From: Michael Bäuerle
Date: Thu, 14 Jul 2016 14:55
Date: Thu, 14 Jul 2016 14:55
60 lines
4024 bytes
4024 bytes
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). >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). >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). >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:
<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-mailReferences:
<nli1e8$hi6$1@news.mixmin.net> <AABXhhOzaT0AAAdg.A1.flnews@WStation5.stz-e.de> <159hdy6c7ud30.ayfl7s1oi3gc.dlg@40tude.net> <AABXh15wK74AABXd.A1.flnews@WStation5.stz-e.de> <nm86av$fg1$1@news.albasani.net>Show Full Headers
Complete Article Headers
Message-ID: <AABXh6fpK8MAABXd.A1.flnews@WStation5.stz-e.de> Subject: Re: [Dialog] Unicode capabilities Date: Thu, 14 Jul 2016 16:55:37 +0200 From: Michael Bäuerle <michael.baeuerle@stz-e.de> References: <nli1e8$hi6$1@news.mixmin.net> <AABXhhOzaT0AAAdg.A1.flnews@WStation5.stz-e.de> <159hdy6c7ud30.ayfl7s1oi3gc.dlg@40tude.net> <AABXh15wK74AABXd.A1.flnews@WStation5.stz-e.de> <nm86av$fg1$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 Newsgroups: news.software.readers Lines: 60 Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net> Mime-Version: 1.0 X-Trace: individual.net Y/pHxQN6v/WO+oja5V0Frwb1Q0d06V80j9KtjAFeC2II5re1XW X-Orig-Path: not-for-mail Cancel-Lock: sha1:D6MkQ0BV+YR/Q+BkYNLktbL1jRk= sha1:ut/RPSYijJD13V0wesRXEVwjXUc= Injection-Date: Thu, 14 Jul 2016 14:55:37 -0000 User-Agent: flnews/0.14pre44 (for NetBSD) X-Received-Body-CRC: 4147691914 X-Received-Bytes: 3879