🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #268425

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

#268425
From: Carlos E.R.
Date: Fri, 13 Mar 2026 22:25
67 lines
4372 bytes
On 2026-03-13 22:11, Maria Sophia wrote:
> 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.

Possibly because the text is not actually UTF-8


> 
> 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.

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.

> 
> 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.	.


-- 
Cheers, Carlos.
ES🇪🇸, EU🇪🇺;
Technical Details
Message-ID: <ngfe8mx54m.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>

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: Fri, 13 Mar 2026 23:25:59 +0100
Lines: 67
Message-ID: <ngfe8mx54m.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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net qvXhxnNWcSE0RxR7j+SrNwmElAbIfksOOJ+n5IfdEm7mHeSq0l
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:9cPXdyPTBPfEo3i9XFYbjwMvGWA= sha256:9lDAtubqsTMa/GXxdCfz0Pzt+eFNhpiNoUNLdzFHSJ8=
User-Agent: Mozilla Thunderbird
Content-Language: es-ES, en-CA
In-Reply-To: <10p1uie$1jhr3$1@paganini.bofh.team>
X-Leafnode-NNTP-Posting-Host: 127.0.0.1