🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #137357

Re: [Dialog] How to display the right characters

#137357
From: Enrico C
Date: Wed, 12 Nov 2003 18:46
102 lines
5717 bytes
Enrico C | news.software.readers
in <news:1oa9ws7r06n0s.dlg@news.lillathedog.net>

> Marcus Mönnig | news.software.readers
>> Just click on "Raw message" and you'll see Dialog as dumb as others.

> 
> Of course, even out of standard inverted commas would be represented
> correctly if posted with Dialog, which sets an appropriate charset
> including  those characters. Here it comes, in iso-8859-13
> 
> “Porta a porta”
> 
> [to be continued...]


But, you know, we Italians use accented vowels: à è é ì ò ù
(and other languages have their own special signs).

Usually, a iso-8859-1 charset would do for Italian accented vowels.

Though, iso-8859-1 doesn't include the infamous Word inverted commas, 
that were copy&pasted into the original post I replied to, and other 
strange characters  that happen to be found in copy&paste from 
web pages or Word docs or CD Dictionaries and the stuff. 
In those cases, Dialog has to switch to UTF-8, the all-including 
universal charset,  so to speak :)

This message is in UTF-8.
On Dialog it should show flawlessly, I guess :)

Not all readers (or browsers) are as good as Dialog, though.
Or sometimes they are not properly set..
So, some non-UTF-8  complying reader won't understand my Italian 
accented  vowels: à è é ì ò ù , in a UTF-8 message like this, and will 
show strange things instead :(

Dialog helps us, when we write a message, showing what charset it's 
going to use. 
You can  see that in the Status/Charset line, in the top pane of the 
Composition window.

If I copy&paste a text from a web page to Dialog, I check out the 
Charset line, if Dialog is going  to post it as UTF-8.

As I am a bit absent-minded, I also use a Hamster (*) script that 
asks confirmation before posting a UTF-8 messages.

(*) Hamster: Local News/Mail Server: 
http://tglsoft.de/misc/hamster_en.htm

But, I wonder, are there other ways Dialog could help us deal with 
"strange characters" issues?

Here is some ideas of mines.  Maybe I'll log them into Mantis.  
What do you think?

1) When I copy&paste from a web page into the Composition window, I 
would like Dialog to be able to convert the most frequent "out of 
standard" characters, such as Word quotation marks, strange hyphens 
and the like, into standard ones. That would prevent many problems. 
Let's call it  "Special Paste from Web pages" or something like that.


2) I would like a Dialog option that does what my Hamster script does: 
warn me when posting UTF-8 messages.  I am talking of options, not as 
a default.


3) I would like that I could (as an option) manually override the 
charset automatically chosen by Dialog, when I think another charset 
suits best. That capability should be an "expert only", (undocumented 
???)  option, because newbiws could make a mess setting arbitrary 
options! 

4) Yes, I could disable UTF-8 from the list of allowed charsets, but I 
don't really want to, because there are cases I need it.
Anyway, let's say I disabled UTF-8 t (I did not, but let's say...). 
Then, let's say I write a message that should require UTF-8, for 
instance with cyrillic chars Добро пожаловать.  *and* accented italian 
vowels àèéìòù *and* the Euro sign €. 
In that case (I tried it, with UTF-8 disabled), Dialog sets 
iso-8859-5, that includes cyrillic but doesn't include Italian 
accented vowels nor the Euro sign! 
Yet, I can see them in the Composition window, while I am writing my 
message, so I wouldn't know.  But those who will read my message, will 
know :((
I think Dialog should warn me when not every character in the message 
is in the charset, either if it sets it automatically or if I set it 
manually (see feature request #3).

5) A specific "Allowed charsets" list for each group would be pretty 
useful. When I post to Italian groups I generally don't want anything 
different than a plain iso-8859-1 or iso-8859-15 or US-ASCII. But on 
other groups I may need other charsets.


-- 
Enrico C

Hamster Scripts from hamster.it.misc
http://www.lillathedog.net/hamster/
Technical Details
Message-ID: <17jfakflexs0l.dlg@news.lillathedog.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!213.203.156.37!not-for-mail
References: <3fb0d160$0$70006$edfadb0f@dread12.news.tele.dk> <d4ge231priww.dlg@40tude.com> <3fb13c01$0$69996$edfadb0f@dread12.news.tele.dk> <borfhj$1h27ng$1@ID-74459.news.uni-berlin.de> <3fb1493d$0$69929$edfadb0f@dread12.news.tele.dk> <1f0q2jhe2m1ok.dlg@40tude.com> <1oa9ws7r06n0s.dlg@news.lillathedog.net>

Show Full Headers
Complete Article Headers
Message-ID: <17jfakflexs0l.dlg@news.lillathedog.net>
Subject: Re: [Dialog] How to display the right characters
Date: Wed, 12 Nov 2003 18:46:37 +0000
From: Enrico C <enrico.c@spamcop.net>
References: <3fb0d160$0$70006$edfadb0f@dread12.news.tele.dk> <d4ge231priww.dlg@40tude.com> <3fb13c01$0$69996$edfadb0f@dread12.news.tele.dk> <borfhj$1h27ng$1@ID-74459.news.uni-berlin.de> <3fb1493d$0$69929$edfadb0f@dread12.news.tele.dk> <1f0q2jhe2m1ok.dlg@40tude.com> <1oa9ws7r06n0s.dlg@news.lillathedog.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!213.203.156.37!not-for-mail
Newsgroups: news.software.readers
Lines: 102
NNTP-Posting-Host: 213.203.156.37
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 1068662797 53271063 213.203.156.37 (16 [193523])
User-Agent: 40tude_Dialog/2.0.8.1it (bbf40f37.429.3) Hamster/2.0.4.0
X-Face: (a4+af0-6{;
 Y.j"cd@Dd4>"^4m%3@{i9q``2C6u+X<MoECO,is%/20#=,W1GNl?cV{VRNHq
 8R(oLuw0}7wz529riTkJr)e7|HQ;
 ,6#38E.0?RNK@lalS$`R~U*WCoKU{<%@.b<nB?9IYXdBEaw}.9
 Q/KtoYUiDiwpS2#68j@$N!BF#?1RHH|'/)KG); oH:${ZjLjGZG{d.ziq3|kLym?i$'ND(D