🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #268440

Re: Question: Do Winston's headers cause charset issues for anyone else?

#268440
From: Maria Sophia
Date: Mon, 16 Mar 2026 13:13
36 lines
3072 bytes
Michael Bäuerle wrote:
>> The RFC-correct solution would be:
>>  [Invalid header field line]
> 
> Please note that RFC 2047 defines a line length limit:
> <https://datatracker.ietf.org/doc/html/rfc2047#section-2>
>| 
>| While there is no limit to the length of a multiple-line header
>| field, each line of a header field that contains one or more
>| 'encoded-word's is limited to 76 characters.
> 
> for this reason:
>| 
>| The length restrictions are included both to ease interoperability
>| through internetwork mail gateways, and to impose a limit on the
>| amount of lookahead a header parser must employ (while looking for a
>| final ?= delimiter) before it can decide whether a token is an
>| "encoded-word" or something else.
> 
>> But that's ugly.
> 
> Because nobody should get the raw header displayed (except on request)
> I think this should be no problem.

Thanks for the update. I think we've resolved all (most of) the issues. 
Carlos' tests were instrumental as they matched my guessed assumptions. 

1. Winston typed Windows-1252 Alt-codes for his display name long ago.
    ...W¡񧱤ñ
2. His Thunderbird converts those Latin-1 bytes to UTF-8 internally.
3. His Thunderbird MIME-encodes the UTF-8 header before sending it.
4. Your Thunderbird decodes the MIME header & displays normal UTF-8 text.
5. My own newsreader client copies the original Latin-1 bytes from the
   attribution line because it does not decode the MIME header.
6. That mismatch triggers mojibake in my outgoing posts when my headers
   declare "charset=UTF-8" instead of "charset=US-ASCII".	
Technical Details
Message-ID: <10p8vm8$1o0b$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
References: <10ot1jr$5it$1@nnrp.usenet.blueworldhosting.com> <10otoq9$1o9q7$1@dont-email.me> <10ov0da$27r9k$1@dont-email.me> <10p08al$2pb2v$1@dont-email.me> <10p0j1u$1gjfo$1@paganini.bofh.team> <10p0lau$1go2i$1@paganini.bofh.team> <AABptUkwQ+wAAAob.A3.flnews@WStation7.micha.freeshell.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: Maria Sophia <mariasophia@comprehension.com>
Newsgroups: news.software.readers
Subject: Re: Question: Do Winston's headers cause charset issues for anyone else?
Date: Mon, 16 Mar 2026 14:13:44 +0100
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID: <10p8vm8$1o0b$1@nnrp.usenet.blueworldhosting.com>
References: <10ot1jr$5it$1@nnrp.usenet.blueworldhosting.com> <10otoq9$1o9q7$1@dont-email.me> <10ov0da$27r9k$1@dont-email.me> <10p08al$2pb2v$1@dont-email.me> <10p0j1u$1gjfo$1@paganini.bofh.team> <10p0lau$1go2i$1@paganini.bofh.team> <AABptUkwQ+wAAAob.A3.flnews@WStation7.micha.freeshell.org>
Reply-To: pusvul@getTjewytR4so+mqe2.invalid
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 16 Mar 2026 13:13:45 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
	logging-data="57355"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: My Own Reader
Cancel-Lock: sha1:2m8TOtKFcIAQJTfu1CywaV91e8o= sha256:HwSHhx9EaBgVBbDmR58lxOIelaQkQOm80OKHvLqvFmU=
	sha1:GVXdMUNY3Y+XH6fakkF93H6ZJko= sha256:EPSGtdyZd3u9/DYKtgEAzkLDnz8msDUf3yj0NZjc5bU=
Content-Language: en-GB