🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #268423

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

#268423
From: Maria Sophia
Date: Fri, 13 Mar 2026 21:11
52 lines
3865 bytes
Carlos E.R. wrote:
>> I could be wrong as I never really understood this characters stuff, but
>>   a. They are not UTF-8
>>   b. They are not ASCII
>>   c. They are not MIME-encoded
>>   d. They are raw 8-bit bytes
> 
> Huh, no. They were typed as 8-bit bytes from Latin-1 charset at some 
> point in time, but today they are UTF-8. UTF in the body, and as MIME in 
> the header.
> 
> You said it yourself in another post:

Hi Carlos, 

I agree. I apologize for the flip flop indecision. I don't know what's 
going on, as I'm only trying to fix the trouble W¡񧱤ñ¬Ößóògîë creates.

I will endlessly admit I never understood this charset stuff, and I will 
point out that the only reason I even care is you and others asked me to 
fix the problems that sometimes my posts look like a Chinese jigsaw puzzle.

Since I don't mess with the characters, something else is messing with the 
characters, where a test in this very thread shows that when I use headers
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bi	t
Then W¡񧱤ñ¬Ößóògîë remains W¡񧱤ñ¬Ößóògîë 

But when I use headers 
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bi	t
Then W¡񧱤ñ¬Ößóògîë turns the entire post into a ransom note.

Usenet (NNTP) follows email header rules (RFC 5322 + RFC 2047):
 a. The body may be UTF-8, if declared.
 b. Headers cannot contain raw 8-bit bytes.  
 c. Hence, non-ASCII characters must be encoded using MIME encoded-words
    From: =?UTF-8?Q?W=C2=A1=C3=B1=C2=A7=C2=B1=C2=A4=C3=B1?= <winston@example.com>

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.

As you said, I belatedly realized Winston's characters are valid Unicode 
and valid UTF-8 but they appear in a header, apparently without required 
MIME encoding when Usenet servers are allowed to mangle or reject 8-bit 
header bytes. When I respond, the attribute line contains W¡񧱤ñ¬Ößóògîë 

What I'm trying to figure out is why my body gets mangled because the 
attribution line contains raw Latin-1 bytes, but my outgoing headers 
declare UTF-8, so I think a server in the path re-encodes the body and 
corrupts it. But I'm not really sure what is causing the mojibake.	.
Technical Details
Message-ID: <10p1uie$1jhr3$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> <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>

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 14:11:42 -0700
Organization: To protect and to server
Message-ID: <10p1uie$1jhr3$1@paganini.bofh.team>
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>
Reply-To: pusvul@getTjewytR4so+mqe2.invalid
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 13 Mar 2026 21:11:43 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="1689443"; posting-host="veHvhVKLKBOj2ofa84C3uw.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: TB Mojibake Scrambler
X-Notice: Filtered by postfilter v. 0.9.3
Content-Language: en-GB