🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #268411

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

#268411
From: Maria Sophia
Date: Fri, 13 Mar 2026 09:38
60 lines
4054 bytes
THIS IS A TEST. IT'S AN EXACT COPY OF THE PREVIOUS POST. 
THE ONLY DIFFERENCE IS THIS HAS UTF-8 DECLARED IN THE HEADER. NOT ASCII.
DO YOU SEE THE SAME OUTPUT or DO YOU SEE IT DIFFERENTLY?

Delving deeper in thought... 

Given RFC 5322 says headers must be ASCII unless MIME-encoded, others have 
pointed out Big-5 & ISO-8859-1 sometimes gets inserted into my headers.

I don't add that. I can't add them. They're not in my dictionaries.
So "something else" must be adding them. But what?

I never really understood character encoding, and I've said so many times.
But I wonder if what's happening is possibly
 1. The "From:" display name contains raw CP1252 bytes
 2. Which are not valid UTF-8
 3. Where, if my outgoing message declares "charset=UTF-8"
 4. Maybe some NNTP servers might respond by trying to be helpful
 5. One way being by slapping a different charset label on the header
    Given... these CP1252 bytes (0xA1, 0xA7, 0xB1, 0xF1) are 
    a. illegal in UTF-8
    b. legal in ISO-8859-1
    c. also legal byte patterns in Big-5
Maybe that's where some of my responses get ISO-8859-1 or Big-5 headers?

Maybe... given UTF-8 is not ASCII, but ASCII is valid UTF-8...
 i. Declaring UTF-8 forces some nntp servers to validate all bytes.
 ii. But CP1252 bytes are illegal in UTF-8
 iii. Where UTF-8 replies trigger more server 'helpfulness'

An interesting related aside is that... for 
 I. 0xA1 is not a valid UTF-8 start byte
 II. 0xF1 is a valid UTF-8 start byte, 
     but only if followed by 0x80-0xBF, which it isn't
 III. 0xA7 is illegal as a UTF-8 start byte
 IV. 0xB1 is illegal as a UTF-8 start byte
 V. 0xA4 is illegal as a UTF-8 start byte
 VI. 0xF1 is a valid UTF-8 start byte, 
     but only if followed by 0x80-0xBF, which it isn't

The RFC-correct solution would be:
 From:
=?UTF-8?Q?W=C2=A1=C3=B1=C2=A7=C2=B1=C2=A4=C3=B1=C2=AC=C3=96=C3=9F=C3=B3=C3=B2g=C3=AE=C3=AB?=
<...>
But that's ugly.

Using W¡񧱤ñ¬Ößóògîë would be even more so, given 
 VII. 0xAC is illegal as a UTF-8 start byte
 VIII. 0xD6 is a valid start byte only if followed by continuation byte
And so on, where the "W" in W¡񧱤ñ and the "g" in Ößóògîë are the only 
bytes in that entire (pre 1988) decorated name that is both ASCII and valid 
UTF-8. Everything else is raw CP1252.

The UTF-8 version of the whole name would be:
 57 C2 A1 C3 B1 C2 A7 C2 B1 C2 A4 C3 B1 C2 AC C3 96 C3 9F C3 B3 C3 B2 67 C3
AE C3 AB

But all this is only meaningful if it causes downstream issues, 
where I think simply switching my headers to ASCII solved the 
mojibake that Andy, Carlos and others asked me to try to fix.
Technical Details
Message-ID: <10p0lus$1gp3q$1@paganini.bofh.team>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!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>

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!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: Maria Sophia <mariasophia@comprehension.com>
Newsgroups: alt.comp.os.windows-10,news.software.readers,alt.comp.software.thunderbird
Subject: Re: Question: Do Winston's headers cause charset issues for anyone else?
Date: Fri, 13 Mar 2026 02:38:35 -0700
Organization: To protect and to server
Message-ID: <10p0lus$1gp3q$1@paganini.bofh.team>
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>
Reply-To: pusvul@getTjewytR4so+mqe2.invalid
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 13 Mar 2026 09:38:36 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="1598586"; posting-host="0zSHxRtCWEsnuj4eaI1oHQ.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: Mojibake 1.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.3