Article View: news.software.readers
Article #262239Re: [slrn] Odd conversion problem
From: Will Parsons
Date: Sun, 16 Jul 2017 01:50
Date: Sun, 16 Jul 2017 01:50
42 lines
2445 bytes
2445 bytes
On Saturday, 15 Jul 2017 5:44 AM -0400, Michael Bäuerle wrote: > Will Parsons wrote: >> >> On occasion I have noticed getting a message reading certain posts in >> slrn: >> >> Can't convert utf8 -> UTF-8 >> >> This makes a certain amount of sense since the headers of the >> problematic posts contain: >> >> Content-Type: text/plain; charset=utf8; format=flowed > ^^^^ > This is not a valid MIME name for UTF-8. > slrn tells you that "utf8" is an unknown character set. > >> and I have LANG=en_US.UTF-8 in my environment. >> >> Naïvely, I would expect a utf8 -> UTF-8 conversion here to be a no-op, >> so what's wrong, > > As noted above, the MIME Content-Type declaration was wrong. RFC 2046 > specify that the value of the charset parameter is case-insensitive [1]. > But the hyphen must be present according to the list of IANA registered > charsets [2] (106 in the MIBenum column). > > Examples for valid declaration: utf-8, UTF-8, Utf-8, uTf-8 > >> and is there anything I can do to fix it? (It's >> really only an annoyance, though, not a serious problem.) > > To really fix it, you have to tell the creator of the article to > correctly configure the newsreader. > > Maybe slrn allows a workaround (default charset or alias mapping). Thank you. I'm happy enough knowing it's neither my, nor slrn's, fault. (I may or may not be bother to complain to the original poster, but now I know I *can* legitimately do that.) -- Will
Technical Details
Message-ID:
<slrnomlhj4.3eq.varro@anukis.local>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:
<slrnomiivc.27b.varro@anukis.local> <AABZaeQDFtsAAAtt.A1.flnews@Server4.micha.freeshell.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnomlhj4.3eq.varro@anukis.local> Subject: Re: [slrn] Odd conversion problem Date: Sat, 15 Jul 2017 21:50:28 -0400 From: Will Parsons <varro@nodomain.invalid> References: <slrnomiivc.27b.varro@anukis.local> <AABZaeQDFtsAAAtt.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 Newsgroups: news.software.readers Lines: 42 Reply-To: gyliamos@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net 672QOgVGqiGJfkq/JpY5pgUCNU4Ut58VC3xDwY5ibl7r8mHBLC Cancel-Lock: sha1:xKTAtcD83AXwdcEhvXfF5q+f458= User-Agent: slrn/1.0.3 (FreeBSD) X-Received-Body-CRC: 1193419056 X-Received-Bytes: 2334