🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261757

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

#261757
From: Stijn De Jong
Date: Tue, 10 Jan 2017 21:11
62 lines
4628 bytes
On Tue, 10 Jan 2017 06:59:52 +0100, you wrote:

> You can't insert arbitrary encoding information directly before sending and 
> expect the message to be encoded correctly! Dialog converts any received
> message to Unicode and holds them inside an Unicode memory buffer (the same 
> with newly created messages) until you send it. Then Dialog tries any
> character set and encoding you permitted Dialog to use in the sequence you
> set up.

I don't completely understand what you wrote because I don't know what
"unicode" is (all I know is ASCII and these things):
https://s28.postimg.org/xstzeio31/unicode.jpg

Looking up unicode:
https://en.wikipedia.org/wiki/Unicode

OK. It's just a better (newer) version of what ASCII did which is simply
that unicode (like ASCII did) defines every character that it wants to
represent into a set of ones and zeroes. 

Unicode seems more complex than ASCII though, in that unicode seems to have
multiple parts such as this line in that Wikipedia article:
 "UTF encodings include UTF-8, which is an 8-bit variable-width encoding
which maximizes compatibility with ASCII;"

So where in Dialog do I simply set it to use "unicode"?
There is only a single spot in the entire Dialog GUI that has anything
whatsoever to do with this stuff, and that's the "charsets" default for
groups, which makes no difference in the headerlines no matter what I set
it to.

So how do I use this charsets to set it to unicode when that's not even an
option? https://s27.postimg.org/b58w6zvhf/utf8.jpg

There's nothing there for unicode.
And, no matter what I set there, nothing changes in the header anyway.


> If you don't change the default settings, Dialog will find at least
> one suitable charset/encoding combination, that fits to the current chars
> inside the memory text buffer. (When the original post contains characters
> not supported by your operating system, that my still lead to question marks 
> or sth. like that, though.) As long as you don't fiddle with the settings, 
> the post will go out correctly. Changing settings requires correct knowledge 
> of the consequences. Else: Hands off!!

Oh oh ... 
Does that mean that the only setting there is in the entire Dialog GUI for
anything having to do with the "charsets" should be left at the "Default"?
https://s24.postimg.org/m0d7ukg7p/default.jpg

> Inside OnBeforeSendingMessage, the charset/encoding declaration is already
> decided by Dialog. /Any/ change you do has to be compliant with that
> decision.

My observation is that, with or without onbeforesendingmessage, absolutely
nothing I can set inside the Dialog GUI will change the default headers
which are *always* these three headers, no matter what I set the "charsets"
to in the DIalog GUI:
1.   Mime-Version: 1.0
2.   Content-Type: text/plain; charset="us-ascii"
3.   Content-Transfer-Encoding: 7bit
Technical Details
Message-ID: <o53imb$tr2$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
References: <o4bg7v$t51$1@gioia.aioe.org> <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> <AABYci8BUB8AAFIq.A1.flnews@WStation4.micha.freeshell.org> <o4uq53$1co3$1@gioia.aioe.org> <AABYc4OvAJgAAABL.A1.flnews@WStation5.stz-e.de> <o50el2$1q76$1@gioia.aioe.org> <AABYc82AAKEAAABL.A1.flnews@WStation5.stz-e.de> <o50jlh$4f0$1@gioia.aioe.org> <o50k21$57i$1@gioia.aioe.org> <AABYc9r3AK0AAABL.A1.flnews@WStation5.stz-e.de> <o518hf$16at$3@gioia.aioe.org> <13arb5jklrhgr$.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <o53imb$tr2$1@gioia.aioe.org>
Subject: Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
Date: Tue, 10 Jan 2017 22:11:35 +0100
From: Stijn De Jong <stijndekoning@nlnet.nl>
References: <o4bg7v$t51$1@gioia.aioe.org> <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> <AABYci8BUB8AAFIq.A1.flnews@WStation4.micha.freeshell.org> <o4uq53$1co3$1@gioia.aioe.org> <AABYc4OvAJgAAABL.A1.flnews@WStation5.stz-e.de> <o50el2$1q76$1@gioia.aioe.org> <AABYc82AAKEAAABL.A1.flnews@WStation5.stz-e.de> <o50jlh$4f0$1@gioia.aioe.org> <o50k21$57i$1@gioia.aioe.org> <AABYc9r3AK0AAABL.A1.flnews@WStation5.stz-e.de> <o518hf$16at$3@gioia.aioe.org> <13arb5jklrhgr$.dlg@b.rose.tmpbox.news.arcor.de>
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
Organization: Aioe.org NNTP Server
Lines: 62
NNTP-Posting-Host: hfOAoZlqGeFs4SUbLxBJ8Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: 40tude_Dialog/2.0.15.84
X-Notice: Filtered by postfilter v. 0.8.2
X-Received-Body-CRC: 219572547
X-Received-Bytes: 4707