🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261764

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

#261764
From: Bernd Rose
Date: Tue, 10 Jan 2017 22:30
60 lines
5513 bytes
On Tue, 10th Jan 2017 22:11:35 +0100, Stijn De Jong wrote:

> 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;"

UTF-8 is one (out of several) encoding scheme for Unicode characters.
Unicode is a character set representation like ASCII, but with a far
wider scope of supported characters. (Aim: /Every/ character shall be
represented.) The different encoding schemes are optimized for different
purposes. UTF-8 can be considered more "efficient" for charsets mainly
from 7-bit or 8-bit ASCII characters. UTF-16 needs somewhat less overhead
for encoding (e.g.) Chinese chars. When it comes to networking, UTF-8
can often be transmitted in an unchanged way, while UTF-16 may need an
additional re-encoding. And there are lots of other considerations, 
before the "best-fitting" encoding scheme for a usage scenario has been
selected...

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

Of course not. The Dialog help file clearly states for this setting, that
it enables you to select a default charset for postings, that are missing
a charset declaration. It is meant for *reading* such erroneous messages,
like the ones you created when implicitly declaring 7-bit US-ASCII (by
deleting all declaration info) while sending posts containing German
Umlauts. It, therefore, is a means to simplify error correction. Apart
from this by-group setting, the same is possible per posting in Dialog:
If you receive an undeclared posting, which isn't decoded correctly by
the group-default charset (e.g. a Russian posting in a German group with
manually set default German charset), it is possible to switch decode
charset for the posting by Message->Charset menu. This way, it is also 
possible to read messages, that have a /wrong/ charset declaration, with
a better fitting charset.

The posting settings are set via Settings->General_Settings->Charsets
menu: "Allowed/Forbidden charsets for posting" / "Encoding non-US-ASCII
messages". All charsets listed in the "Allowed charsets" list are tried
(in the listed order) against the posting, which is about to be sent. 
The first charset, that fits to every character used in the posting 
will be used. Therefore, it is recommended to have US-ASCII on top, and
it is necessary to have at least one Unicode representation (like utf-8)
included, to ensure, that Dialog finds at least one method to encode
any character, that can be represented by the operating system. (Whether
there's a font, that includes an actual drawing of all those characters
(= glyphs), doesn't matter in this context.)

If you often read groups with (e.g.) Russian postings sent from Windows
systems, the Cyrillic ANSI Windows charset will come handy in this list,
as well. This charset could be used for answering such postings, without
the need to use the "bulkier" UTF-8 or sth. like that...

And: It is *not* recommended to "tidy up" those settings, as long as
one isn't /absolutely/ sure about the consequences of every decision!!
 
Bernd
Technical Details
Message-ID: <1scm4vmu984sl$.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
References: <o4bg7v$t51$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> <o53imb$tr2$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <1scm4vmu984sl$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
Date: Tue, 10 Jan 2017 23:30:34 +0100
From: Bernd Rose <b.rose.tmpbox@arcor.de>
References: <o4bg7v$t51$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> <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
Newsgroups: news.software.readers
Organization: albasani.net
Lines: 60
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net bN2Bt1UQVxHugy25eMZb5jiZgM7rarKLHr8t1Ong9Nxh6Y1wuiMnJYl8W1WJGJThOhCtgv9iUnPgasPpRt47xA==
NNTP-Posting-Date: Tue, 10 Jan 2017 22:30:36 +0000 (UTC)
Injection-Info: news.albasani.net; logging-data="2qNy95Ow5l4rgPWNj0EiihCoLWkQGxZWInZOMaUI7tsMgUg4zuXTlB9dFXtUbJbIh68NABwsJi0E2Aeg82qbnDYBHAAbO8ntCmsY/nh86u9x7QyiivqOiILHopRq7dxP"; mail-complaints-to="abuse@albasani.net"
User-Agent: 40tude_Dialog/2.0.15.41 (559f03a5.142.497)
Cancel-Lock: sha1:ZNLl0bTkdxg2acEk1W9C1EO1+FQ=
X-Received-Body-CRC: 3865275472
X-Received-Bytes: 5466