🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261752

Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog

#261752
From: Dave Sparks
Date: Tue, 10 Jan 2017 10:34
60 lines
4106 bytes
On Tue, 10 Jan 2017 01:06:02 +0100, Stijn De Jong wrote:

> On Mon, 9 Jan 2017 19:24:21 +0000, you wrote:
> 
>> Since you've removed the Content-Encoding: header, the message body
>> would be treated as 7-bit, making the non-ASCII characters invalid.
> 
> I don't think the headers make any difference since I'm not even
> touching the headers and the server still munges the non-standard
> characters.

The headers in your message include:

Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

so the most significant bit of each byte in the message body will be 
ignored, and may be stripped.

> I found, by googling, that I can set the group default "charset" to any
> of two dozen or so options so I just set it at UTF-8 for this test.

That may be the default for handling incoming messages with incomplete 
headers.

Dialog *can* post messages with non-ASCII characters - see 
<8rvhm2iwm3r5$.1rx0y710bzqpv$.dlg@40tude.net> in this newsgroup, dated 
Mon, 11 Jul 2016 21:06:25 -0400 .

> Remove_Headers := '';
> Add_Headers := 'X-Comment: I did not change the mime, type, or encoding
> headerlines!'#13#10;

There's no X-Comment: header in your message.

....
 
> BTW, I don't care what encoding it uses.
> I just type on a US English keyboard and I stay standard, just as I wrap
> at 72 characters and I don't do non-standard things (which is the way it
> should be, as the one doing non-standard things are the ones screwing
> everything up).

Non-ASCII characters are *not* non-standard.  If you quote text from 
other people's messages, or copy and paste text from a word processor 
(even text you typed yourself using only ASCII characters) then you are 
likely to include non-ASCII characters.

There was a time when NNTP was restricted to ASCII and 7-bit transfer 
encoding, but the world moved on in a previous century.

> Since I don't care what the default encoding or charset is for the
> newgroup posts, what should I set it to so that everything I type (which
> is only standard stuff) just works like it's supposed to work?

UTF-8 will encode anything (including Klingon), and when the alphabet is 
Latin the overhead is small (except possibly when the language is 
Finnish).  You don't need to consider any other encoding unless the 
character set is non-Latin (Greek, Cyrillic, Thai, Japanese, ...).
Technical Details
Message-ID: <uupekd-gf3.ln1@leafnode.dandasparks.org.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <o4bg7v$t51$1@gioia.aioe.org> <1xmerwn6hkw2o.dlg@b.rose.tmpbox.news.arcor.de> <o4cbjs$4pc$1@gioia.aioe.org> <w4daz9t9jqbr$.dlg@b.rose.tmpbox.news.arcor.de> <o4mq1e$2u7$1@gioia.aioe.org> <1k5qgdg6ulbzp$.dlg@b.rose.tmpbox.news.arcor.de> <o4pna9$9u9$1@gioia.aioe.org> <11rcu0h87cvsa.dlg@b.rose.tmpbox.news.arcor.de> <o4rlog$1j7o$1@gioia.aioe.org> <1ffs4h0aol2bg.dlg@b.rose.tmpbox.news.arcor.de> <o4s2ec$a4u$1@gioia.aioe.org> <ybae5rblj1id.dlg@b.rose.tmpbox.news.arcor.de> <o4uqtu$1ddk$1@gioia.aioe.org> <lu7ckd-gf3.ln1@leafnode.dandasparks.org.uk> <o50ek4$1q69$1@gioia.aioe.org> <o50gkq$1u8p$1@gioia.aioe.org> <5k4dkd-gf3.ln1@leafnode.dandasparks.org.uk> <o518hb$16at$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <uupekd-gf3.ln1@leafnode.dandasparks.org.uk>
Subject: Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
Date: Tue, 10 Jan 2017 10:34:38 +0000
From: Dave Sparks <Dave.Sparks@dandasparks.invalid>
References: <o4bg7v$t51$1@gioia.aioe.org> <1xmerwn6hkw2o.dlg@b.rose.tmpbox.news.arcor.de> <o4cbjs$4pc$1@gioia.aioe.org> <w4daz9t9jqbr$.dlg@b.rose.tmpbox.news.arcor.de> <o4mq1e$2u7$1@gioia.aioe.org> <1k5qgdg6ulbzp$.dlg@b.rose.tmpbox.news.arcor.de> <o4pna9$9u9$1@gioia.aioe.org> <11rcu0h87cvsa.dlg@b.rose.tmpbox.news.arcor.de> <o4rlog$1j7o$1@gioia.aioe.org> <1ffs4h0aol2bg.dlg@b.rose.tmpbox.news.arcor.de> <o4s2ec$a4u$1@gioia.aioe.org> <ybae5rblj1id.dlg@b.rose.tmpbox.news.arcor.de> <o4uqtu$1ddk$1@gioia.aioe.org> <lu7ckd-gf3.ln1@leafnode.dandasparks.org.uk> <o50ek4$1q69$1@gioia.aioe.org> <o50gkq$1u8p$1@gioia.aioe.org> <5k4dkd-gf3.ln1@leafnode.dandasparks.org.uk> <o518hb$16at$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Lines: 63
Reply-To: Dave.Sparks+NEWS@dandasparks.org.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net t0MbM6cUoaL/E6DHakE0Rw26hy4cF7XwXyQwlAA1ijEghGSdW4
X-Orig-Path: leafnode.dandasparks.org.uk!not-for-mail
Cancel-Lock: sha1:49/zv91EteBP+nBS/s6RwTSKpu0=
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
 git://git.gnome.org/pan2)
X-Received-Body-CRC: 1824567418
X-Received-Bytes: 4032