🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #268428

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

#268428
From: Carlos E.R.
Date: Sat, 14 Mar 2026 13:11
132 lines
6839 bytes
On 2026-03-14 05:45, Maria Sophia wrote:
> Carlos E.R. wrote:
>>> Then W¡ñ§±¤ñ¬Ößóògîë turns the entire post into a ransom note.
>>
>> Possibly because the text is not actually UTF-8
> 
> Yeah. In a later post you see I belatedly figured that out for myself.
> Sorry for the flip flop indecision on whether I think it's UTF-8 or not.
> 
> Did I ever mention I never really understood this Usenet charset stuff?
> 
> I'm one of the few people whose ego isn't so huge that they can't admit
> when they don't know something, where I openly and humbly easily admit that
> I seriously lack charset understanding when it comes to Usenet headers.
> 
> Luckily, the two things I'm doing seems to work "most" of the time:
>   a. If I copy/paste from a variety of web sources (particularly Chromium),
>      I run my body through a text-normalizer to eliminate Unicode chars.
>      <shortcuts.xml>
>   b. I manually place a US-ASCII header which seems to tell the receiving
>      newsreaders not to both trying to deal with W¡ñ§±¤ñ¬Ößóògîë's
>      Windows-1252 ISO-8859-1 (Latin-1) character set.
>      w = 0x57 (ASCII)
>      ¡ = 0xA1
>      ñ = 0xF1
>      § = 0xA7
>      ± = 0xB1
>      ¤ = 0xA4
>      ¬ = 0xAC
>      Ö = 0xD6
>      ß = 0xDF
>      ó = 0xF3
>      ò = 0xF2
>      g = 0x67 (ASCII)
>      î = 0xEE
>      ë = 0xEB
> Every one of those bytes is a single-byte Latin-1 / Windows-1252 character.
> None of them are UTF-8.
> 
>>> Given Winston's "FROM:" header has those characters, which are not ASCII,
>>> all I can say is that they're not valid characters for *headers*, unless
>>> they're MIME encoded. Are they Mime-encoded? I don't know. I don't see it.
>>
>> Yes, they are MIME encoded. I posted the other day the section in HEX,
>> taken directly from the on disk file that Leafnode has written on my
>> system, so no translation from Thunderbird.
> 
> I may be wrong since I never understood this stuff, so I appreciate your
> clarifications, and I openly let you know I really don't understand this.
> 
> I think you are describing Thunderbird's behavior, not necessarily
> Winston's behavior, while mostly I'm describing Winston's original bytes,
> not Thunderbird's. (Although it appears that Winston uses TB after all.)

He does.

I have looked at posts from him, in three ways:

  * as TB displays them
  * as TB "view-raw" displays them
  * at the computer file, which is stored by leafnode in my system.

> 
> I think we can all presume Winston originally long ago typed raw
> Windows-1252 bytes using Alt-codes for his display name, but I think it may
> be that TB does not actually send those bytes directly in the header.

Certainly not. Currently it sends MIME encoded UTF-8 header.

> 
> Those are raw 8-bit Latin-1 bytes when he types them.
> However, I think TB does not send those bytes directly.
> 
> When Winston posts using TB, I think TB maybe perhaps converts the Latin-1
> bytes to UTF-8, and then MIME-encodes the header using RFC 2047. That may
> be why the raw source on your system shows something like:
> 
>      From: =?UTF-8?B?Li4ud8Khw7HCp8KxwqTDsQ==?=
> 

Yes.

> On your side, TB maybe perhaps then decodes that MIME-encoded header for
> display, so in the normal UI you see:
> 
>      ...w!n§±¤n <winstonmvp@gmail.com>
> 

Yes.

> I'm rather confused, as I don't control anything but my side of the
> equation, and all I'm doing is dealing with Winston's display name,
> but maybe what's possibly happening overall, is this (maybe?):
> 
> 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.

Yes.

> 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".	
> 
> I never understood this stuff, but perhaps maybe that explains why you see
> a valid MIME-encoded UTF-8 header in the raw view, while I see the original
> Latin-1 bytes in my ASCII world. Thunderbird is doing the right thing on
> Winston's end, but perhaps my own ASCII-only setup exposes the mismatch.

Presumably your upstream nntp server sends to you the same utf-8 mime 
encoded header that I get, but your system does not interpret it correctly.

> 
> Thanks again for helping me sort out what Thunderbird is doing on your
> side, as I used TB years ago for a client and hated how it thought Usenet
> was email. Maybe it's better now as that had to be a decade or so ago.


I have no understanding of the RFCs, I simply observe what TB and 
Leafnode seem to do. I also looked in another machine that only uses TB. 
I also have the memory of what I have read over the years.

Forget latin-1. The servers are sending mime encoded utf-8 in the 
headers. Life is simple that way.


-- 
Cheers, Carlos.
ES🇪🇸, EU🇪🇺;
Technical Details
Message-ID: <qd3g8mxcsg.ln2@Telcontar.valinor>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <10ot1jr$5it$1@nnrp.usenet.blueworldhosting.com> <1rru4gl.1lw4gj1mrv9u6N%snipeco.2@gmail.com> <10otloc$1fnc$1@nnrp.usenet.blueworldhosting.com> <n1ff4sF7tahU1@mid.individual.net> <10oup0v$1r1t$1@nnrp.usenet.blueworldhosting.com> <v9dd8mxd58.ln2@Telcontar.valinor> <10p1uie$1jhr3$1@paganini.bofh.team> <ngfe8mx54m.ln2@Telcontar.valinor> <10p2p54$1q9i0$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!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: "Carlos E.R." <robin_listas@es.invalid>
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: Sat, 14 Mar 2026 14:11:54 +0100
Lines: 132
Message-ID: <qd3g8mxcsg.ln2@Telcontar.valinor>
References: <10ot1jr$5it$1@nnrp.usenet.blueworldhosting.com>
 <1rru4gl.1lw4gj1mrv9u6N%snipeco.2@gmail.com>
 <10otloc$1fnc$1@nnrp.usenet.blueworldhosting.com>
 <n1ff4sF7tahU1@mid.individual.net>
 <10oup0v$1r1t$1@nnrp.usenet.blueworldhosting.com>
 <v9dd8mxd58.ln2@Telcontar.valinor> <10p1uie$1jhr3$1@paganini.bofh.team>
 <ngfe8mx54m.ln2@Telcontar.valinor> <10p2p54$1q9i0$1@paganini.bofh.team>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net qmMWbrvpHo2QHDz4TCx5zgJ2De5Yu8NkYNP1xGZULOigS3/Mzn
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:0mamVQxxHYD0VI8agY9zx5uotsI= sha256:tihw/P+TfpEL1cwVdJPRbE0Z2ftAbLP/UAsd3o31oCI=
User-Agent: Mozilla Thunderbird
Content-Language: es-ES, en-CA
In-Reply-To: <10p2p54$1q9i0$1@paganini.bofh.team>
X-Leafnode-NNTP-Posting-Host: 127.0.0.1