Article View: news.software.readers
Article #262237Re: [slrn] Odd conversion problem
From: Michael Bäuerle
Date: Sat, 15 Jul 2017 09:44
Date: Sat, 15 Jul 2017 09:44
39 lines
2389 bytes
2389 bytes
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).
______________
[1] <https://tools.ietf.org/html/rfc2046#section-4.1.2>
[2] <http://www.iana.org/assignments/character-sets/character-sets.xhtml>
Technical Details
Message-ID:
<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-mailReferences:
<slrnomiivc.27b.varro@anukis.local>Show Full Headers
Complete Article Headers
Message-ID: <AABZaeQDFtsAAAtt.A1.flnews@Server4.micha.freeshell.org> Subject: Re: [slrn] Odd conversion problem Date: Sat, 15 Jul 2017 09:44:35 -0000 From: Michael Bäuerle <michael.baeuerle@gmx.net> References: <slrnomiivc.27b.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-mail Newsgroups: news.software.readers Lines: 39 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net Wh05j1NuBYkM+0ftB3HZXgQ+jcgprnr8kbyR7hyve4NWHiswHX X-Orig-Path: not-for-mail Cancel-Lock: sha256:SYoogbHERBrFKNFSk4k51xWqA/hCuOnIh3naNORLqPs= sha1:BnBVDoxvNzyd79LkBduU1PgRohM= Injection-Date: Sat, 15 Jul 2017 09:44:35 -0000 User-Agent: flnews/0.14 (for HP-UX) X-Received-Body-CRC: 2483403911 X-Received-Bytes: 2276