πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
66 messages
66 total messages Page 2 of 2 Started by Stijn De Jong Sun, 01 Jan 2017 18:02
Page 2 of 2 β€’ 66 total messages
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261758
Author: Stijn De Jong
Date: Tue, 10 Jan 2017 21:13
14 lines
2208 bytes
On Tue, 10 Jan 2017 04:28:37 -0500, you wrote:

> See? You garble poor Michael's surname by not allowing for the possibility
> of characters outside the US-ASCII range. He knows (and so do I) that "?"
> should be "??" (a-umlaut), but you should have more respect for his name and
> not allow it to become so disfigured in the first place. Cheers, -- tlvp

If it's not clear yet, I must plainly state that there is absolutely no
setting that I can find in 40Tude dialog that won't garble Michael's name.

There is only one setting possible, and that doesn't change anything
whatsoever. 

So, I admit I'm thoroughly confused.
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261760
Author: Stijn De Jong
Date: Tue, 10 Jan 2017 21:19
49 lines
3952 bytes
On Tue, 10 Jan 2017 05:23:30 -0500, you wrote:

> Thanks very much for pointing that out: I never knew that before.
> 
> You yourself were using charset=UTF-8 for that posting. And I had imagined
> for some years now that I too was using that, though I see now, checking
> headers of recent messages elsewhere that I've sent, I seem to have
> reverted to 7-bit US-ASCII (!) :-{ . 
> 
> Yet if I consult my settings under 
> 
> Dialog > Message > Charsets > Default Group Charset
> 
> I see UTF-8 highlighted; and the other three Charset types (Body, Subject,
> and From) are all shown as Default. Am I doing something wrong?
> 
> Anway, under Settings > General Settings... > Charsets > ...for postings
> 
> I see "Use best matching charset out of: utf-8 (highlighted), utf-7,
> us-ascii, iso-8859-2, iso-8859-1, ..."
> 
> So maybe Dialog uses US-ASCII when nothing more serious is needed, but does
> use UTF-8 (or maybe UTF-7) when I use such European diacritically modified
> characters as ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, usw.
> (Well, this post will inadvertently serve as a test, I guess. Apologies!)
> 
> To be followed up on if this posts with garbled characters. Cheers, -- tlvp

I'm very confused so I realize this may just confuse things more, but I
have found out from experimenting that it doesn't matter WHAT I set Dialog
to in the GUI, the three headers are *always* the same as what you see in
your header, which is:
1.   Mime-Version: 1.0
2.   Content-Type: text/plain; charset="us-ascii"
3.   Content-Transfer-Encoding: 7bit

I do realize I'm confused, but the ONLY GUI items I can find in Dialog that
is related to these three things is the group default options, which I have
set to various things, but NONE of those settings show up in the header.
https://s28.postimg.org/xstzeio31/unicode.jpg

The header is always the same as those three lines above no matter what I
set in the Dialog GUI for "charsets" encoding.
https://s24.postimg.org/c3271i8lt/default.jpg

For example, I set, like you did, the UTF-8 encoding in the group defaults,
and I'm already positive that the header above will be the same as it
always is for all Dialog posts.
https://s27.postimg.org/b58w6zvhf/utf8.jpg
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261759
Author: Stijn De Jong
Date: Tue, 10 Jan 2017 21:25
17 lines
2390 bytes
On Tue, 10 Jan 2017 10:34:38 +0000, you wrote:

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

I'm fine with any encoding you suggest.
I have Dialog set to use UTF-8 for this message.
But it won't work.

So there must be a trick somewhere, since the ONLY GUI setting in Dialog
that has anything whatsoever to do with this stuff is the group options
default, which I have set to UTF-8 for this message, but it won't work.

Somehow, tlvp got his to work. 
So there's a trick somewhere, in Dialog, to get it to use UTF-8.
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261761
Author: Stijn De Jong
Date: Tue, 10 Jan 2017 21:29
27 lines
3059 bytes
On Tue, 10 Jan 2017 05:43:14 -0500, you wrote:

>> So maybe Dialog uses US-ASCII when nothing more serious is needed, but does
>> use UTF-8 (or maybe UTF-7) when I use such European diacritically modified
>> characters as ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, usw.
>> (Well, this post will inadvertently serve as a test, I guess. Apologies!)
> 
> And it passed the test :-) -- I see charset="utf-8" in its headers.
> 
> I guess Dialog uses the "least costly" charset option it can get away with.
> Devilishly clever, that :-) . My thanks to MM and his collaborators!
> 
> (Now (OT) if only I could find a windows AltGr US-International keystroke
> shortcut scheme for actually producing 2-key combinations for the uniquely
> Polish characters ??, ??, ??, ??, ??, ??, ??, ??, similar to those for the other
> more Western characters quoted above, I could die content :-) .)

Can you tell me how to pass this same test?
??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??

Should I set the news.software.readers group default charset to "Default"?
 https://s24.postimg.org/c3271i8lt/default.jpg

Or should I set the news.software.readers group default charst to "UTF-8"?
 https://s24.postimg.org/c3271i8lt/default.jpg

NOTE: The group default is set to "Default" for this message.
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261762
Author: Stijn De Jong
Date: Tue, 10 Jan 2017 21:31
15 lines
2272 bytes
On Tue, 10 Jan 2017 22:29:04 +0100, you wrote:

> Should I set the news.software.readers group default charset to "Default"?
>  https://s24.postimg.org/c3271i8lt/default.jpg
> 
> Or should I set the news.software.readers group default charst to "UTF-8"?
>  https://s24.postimg.org/c3271i8lt/default.jpg
> 
> NOTE: The group default is set to "Default" for this message.

Can you tell me how to pass this same test?
??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??

Trying again with the news.software.readers group default "Charset" set to
"UTF-8".
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261764
Author: 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
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261763
Author: Stijn De Jong
Date: Tue, 10 Jan 2017 23:55
78 lines
5169 bytes
On Tue, 10 Jan 2017 23:30:34 +0100, you wrote:

> UTF-8 is one (out of several) encoding scheme for Unicode characters.

Michael, I'll use whatever you say to use for the "encoding" scheme for the
"Unicode" characters.

If you say to use UTF-8, then I'm happy to use it.
The only problem is that setting UTF-8 in the Dialog settings for the group
defaults doesn't seem to actually set it to UTF-8, at least as evidenced by
two facts:
a. The header is always the same, and, 
b. The funky characters in your name are still mangled

> Unicode is a character set representation like ASCII, but with a far
> wider scope of supported characters.

Again, I will use whatever "character set representation" you say to use,
so, Unicode it is.

However, I see no setting inside of Dialog that allows Unicode. I've even
dropped back to the older (more stable) dialog, and I don't see anything
there either.

>> So where in Dialog do I simply set it to use "unicode"?
> The Dialog ... setting ... 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.

OK. Then you cleared up why Dialog never changed the /outgoing/ headers
when I set the default group options to UTF-8 (or to ASCII or to
ISO-8859-15 or to anything).

So what do you recommend I set the default "charsets" option to in Dialog?
I currently have it at "Default" for lack of a better idea.

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

I see Message > Charsets where the options are:
1. Default group charset
2. Body charset
3. Subject charset
4. From charset

But that doesn't help me with setting my outgoing message to whatever you
recommend (which I think is Unicode character set representation with UTF-8
encoding).

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

Here is what Settings > General Settings > Charsets looks like by default:
https://s30.postimg.org/5kirjvhy9/general_settings_charsets.jpg

> And: It is *not* recommended to "tidy up" those settings, as long as
> one isn't /absolutely/ sure about the consequences of every decision!!

All I want is to use whatever settings you recommend in Dialog.

The problem is that I'm *already* at the defaults, and they're not working.

For example, here is the most basic test of the default dialog settings:
TEST:  Marcus M?nnig, Michael B?uerle
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261766
Author: Stijn De Jong
Date: Tue, 10 Jan 2017 23:58
7 lines
1956 bytes
On Wed, 11 Jan 2017 00:55:04 +0100, you wrote:

> For example, here is the most basic test of the default dialog settings:
> TEST:  Marcus M?nnig, Michael B?uerle

Testing with the older version of Dialog.
TEST:  Marcus M?nnig, Michael B?uerle
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261768
Author: tlvp
Date: Wed, 11 Jan 2017 03:15
11 lines
2204 bytes
On Tue, 10 Jan 2017 20:51:12 +0000 (UTC), Stijn De Jong wrote:

> In the 40tude GUI, I can't find any setting in the GUI that sets any of 
> those three headers. 
> 1.   Mime-Version:
> 2.   Content-Type:
> 3.   Content-Transfer-Encoding:

Visit Settings > General Settings... > Charsets . HTH. Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261767
Author: tlvp
Date: Wed, 11 Jan 2017 03:31
26 lines
2635 bytes
On Tue, 10 Jan 2017 22:29:04 +0100, Stijn De Jong wrote:

> Should I set the news.software.readers group default charset to "Default"?
>  https://s24.postimg.org/c3271i8lt/default.jpg
>  
> Or should I set the news.software.readers group default charst to "UTF-8"?
>  https://s24.postimg.org/c3271i8lt/default.jpg

My own setting under 

Group > Default group options > Charsets

is: UTF-8. And under

Group > Selected group options > Charsets

it is: [checkmark] This group uses the default group options.

> NOTE: The group default is set to "Default" for this message.

More to the point, go visit Settings > General Settings... > Charsets.
That's where the settings affecting your *postings* are entered. HTH.

Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261769
Author: tlvp
Date: Wed, 11 Jan 2017 03:37
47 lines
3882 bytes
On Tue, 10 Jan 2017 22:19:26 +0100, Stijn De Jong wrote:

> On Tue, 10 Jan 2017 05:23:30 -0500, you wrote:
> 
>> Thanks very much for pointing that out: I never knew that before.
>> 
>> You yourself were using charset=UTF-8 for that posting. And I had imagined
>> for some years now that I too was using that, though I see now, checking
>> headers of recent messages elsewhere that I've sent, I seem to have
>> reverted to 7-bit US-ASCII (!) :-{ . 
>> 
>> Yet if I consult my settings under 
>> 
>> Dialog > Message > Charsets > Default Group Charset
>> 
>> I see UTF-8 highlighted; and the other three Charset types (Body, Subject,
>> and From) are all shown as Default. Am I doing something wrong?
>> 
>> Anway, under Settings > General Settings... > Charsets > ...for postings
>> 
>> I see "Use best matching charset out of: utf-8 (highlighted), utf-7,
>> us-ascii, iso-8859-2, iso-8859-1, ..."
>> 
>> So maybe Dialog uses US-ASCII when nothing more serious is needed, but does
>> use UTF-8 (or maybe UTF-7) when I use such European diacritically modified
>> characters as ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, usw.
>> (Well, this post will inadvertently serve as a test, I guess. Apologies!)
>> 
>> To be followed up on if this posts with garbled characters. Cheers, -- tlvp
> 
> I'm very confused so I realize this may just confuse things more, but I
> have found out from experimenting that it doesn't matter WHAT I set Dialog
> to in the GUI, the three headers are *always* the same as what you see in
> your header, which is:
> 1.   Mime-Version: 1.0
> 2.   Content-Type: text/plain; charset="us-ascii"
> 3.   Content-Transfer-Encoding: 7bit

I agree that the headers in the post I'm replying to invoke

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

Do mine, in this message, once I've added a few non-US-ASCII bytes? -- like
Γ§, ΓΆ, Γ±, or Γͺ? I'd be surprised. Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261770
Author: tlvp
Date: Wed, 11 Jan 2017 03:45
14 lines
2198 bytes
On Tue, 10 Jan 2017 22:25:33 +0100, Stijn De Jong wrote:

> I'm fine with any encoding you suggest.
> I have Dialog set to use UTF-8 for this message.
> But it won't work.

You did *not* "have Dialog set to use UTF-8": instead, you have only

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

Sorry. Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261772
Author: tlvp
Date: Wed, 11 Jan 2017 05:07
59 lines
4562 bytes
On Tue, 10 Jan 2017 22:19:26 +0100, Stijn De Jong wrote:

> On Tue, 10 Jan 2017 05:23:30 -0500, you wrote:
> 
>> Thanks very much for pointing that out: I never knew that before.
>> 
>> You yourself were using charset=UTF-8 for that posting. And I had imagined
>> for some years now that I too was using that, though I see now, checking
>> headers of recent messages elsewhere that I've sent, I seem to have
>> reverted to 7-bit US-ASCII (!) :-{ . 
>> 
>> Yet if I consult my settings under 
>> 
>> Dialog > Message > Charsets > Default Group Charset
>> 
>> I see UTF-8 highlighted; and the other three Charset types (Body, Subject,
>> and From) are all shown as Default. Am I doing something wrong?
>> 
>> Anway, under Settings > General Settings... > Charsets > ...for postings
>> 
>> I see "Use best matching charset out of: utf-8 (highlighted), utf-7,
>> us-ascii, iso-8859-2, iso-8859-1, ..."
>> 
>> So maybe Dialog uses US-ASCII when nothing more serious is needed, but does
>> use UTF-8 (or maybe UTF-7) when I use such European diacritically modified
>> characters as ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, ??, usw.
>> (Well, this post will inadvertently serve as a test, I guess. Apologies!)
>> 
>> To be followed up on if this posts with garbled characters. Cheers, -- tlvp
> 
> I'm very confused so I realize this may just confuse things more, but I
> have found out from experimenting that it doesn't matter WHAT I set Dialog
> to in the GUI, the three headers are *always* the same as what you see in
> your header, which is:
> 1.   Mime-Version: 1.0
> 2.   Content-Type: text/plain; charset="us-ascii"
> 3.   Content-Transfer-Encoding: 7bit
> 
> I do realize I'm confused, but the ONLY GUI items I can find in Dialog that
> is related to these three things is the group default options, which I have
> set to various things, but NONE of those settings show up in the header.
> https://s28.postimg.org/xstzeio31/unicode.jpg
> 
> The header is always the same as those three lines above no matter what I
> set in the Dialog GUI for "charsets" encoding.
> https://s24.postimg.org/c3271i8lt/default.jpg
> 
> For example, I set, like you did, the UTF-8 encoding in the group defaults,
> and I'm already positive that the header above will be the same as it
> always is for all Dialog posts.
> https://s27.postimg.org/b58w6zvhf/utf8.jpg

You might try this approach: press [F1] (or click Help > Help contents...),
click the *Index* tab, enter  char  (or charset) into the search box, and
then Display whichever of the character set topics found seem(s) relevant.

HTH. Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261771
Author: Bernd Rose
Date: Wed, 11 Jan 2017 05:35
18 lines
2726 bytes
On Wed, 11th Jan 2017 00:55:04 +0100, Stijn De Jong wrote:

[Bernd Rose wrote]
> Michael, I'll use whatever you say to use for the "encoding" scheme for the
  ^^^^^^^
> "Unicode" characters.

Check your references.
 
> Here is what Settings > General Settings > Charsets looks like by default:
> https://s30.postimg.org/5kirjvhy9/general_settings_charsets.jpg

Severely broken. I guess, you already "tidied up". (Which you must not, as
long as you don't /really/ know the consequences!!) US-ASCII should appear
only once. And it seems, that you /already/ moved all other charsets to
the "Forbidden charsets" list.

Bernd
Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
#261825
Author: Whiskers
Date: Sat, 11 Feb 2017 17:17
38 lines
3481 bytes
On 2017-01-11, Bernd Rose <b.rose.tmpbox@arcor.de> wrote:
> On Wed, 11th Jan 2017 00:55:04 +0100, Stijn De Jong wrote:
>
> [Bernd Rose wrote]
>> Michael, I'll use whatever you say to use for the "encoding" scheme for the
>   ^^^^^^^
>> "Unicode" characters.
>
> Check your references.
>  
>> Here is what Settings > General Settings > Charsets looks like by default:
>> https://s30.postimg.org/5kirjvhy9/general_settings_charsets.jpg
>
> Severely broken. I guess, you already "tidied up". (Which you must not, as
> long as you don't /really/ know the consequences!!) US-ASCII should appear
> only once. And it seems, that you /already/ moved all other charsets to
> the "Forbidden charsets" list.
>
> Bernd

The ultimate cure for that would probably be to delete all the user
setting files (I don't know where they would be on a Windows system) and
perhaps even uninstall the newsreader program, and start again.  

But first perhaps try moving all the 'Forbidden charsets' back into the
'Use best matching charset out of' box.  Set as it is, the program
cannot use anything other than 'us-ascii' unless there are some other
options scrolled off the display.  There should only be entries in the
'Forbidden charset' box if you know that a particular character set
causes problems and that putting it there fixes the problem.

Presumably the computer concerned is capable of using UTF-8 and is set up
to be able to.  Any computer incapable of using UTF-8 must be very old.

-- 
-- ^^^^^^^^^^
--  Whiskers
-- ~~~~~~~~~~
Page 2 of 2 β€’ 66 total messages
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads