Article View: news.software.readers
Article #264876Re: Dialog signature delimiter
From: bill
Date: Wed, 21 Apr 2021 21:30
Date: Wed, 21 Apr 2021 21:30
55 lines
3951 bytes
3951 bytes
On Wed, 21 Apr 2021 06:21:08 +0200, Bernd Rose wrote: > Best-fit-selected charset and encoding /are/ your problems. It's complicated so I don't know if I understand yet but I think I understand your final point which is I'm not the one to make it work. ;-/ I can always stick with using Notepad++ then as my intermediary message editor whenever I'm pasting together cites from multiple websites which have inconsistent punctuation (eg smart quotes plus straight quotes) because Notepad++ can convert curly quotes to straight quotes (and lots of others that I added one by one to the shortcuts.xml file as I found them ). In trying to understand your advice I had to look up what unicode was which is essentially an encoding that handles hundreds of thousands of characters. What I gather from what you imparted on me was that when I paste text copied from various web pages into Dialog, the internal Dialog editor translates everything I paste into 16 bit unicode characters. For example a curly quote ends up as a 16-bit unicode curly quote. And a straight quote ends up as a 16-bit unicode straight quote. At this point the text is inconsistent (curly mixed with straight) even as the encoding is consistent from what you said (ie it's all unicode now). Normally just before sending I would cut and paste this into Notepad++ and then I run the conversion of all odd characters to basic characters which gives me the consistency that I want. Then I cut and paste that consistent text back into Dialog and send the message. Since you said the OnBeforeSending script fires up /after/ the message is already encoded, I was just hoping the OnBeforeSending script could convert the now unicode curly quotes to straight quotes in unicode. I admit I don't understand why Dialog can't do that but I do understand your overall advice which is that it's very difficult and therefore not a task I'm equipped to do (since I don't even understand why it can't work yet). I'll just give up but I do appreciate that you helped advise me (I think I'm way out of my league as I don't understand why the encoding matters since it's all unicode at the time that I need to convert curly quotes to straight quotes). Nonetheless, it's ok to have Notepad++ in the middle which does the conversion for me of the unicode curly quotes to the unicode straight quotes. -1- I cut and paste into the Dialog editor from a variety of web pages -2- Just before sending I cut and paste the Dialog message into Notepad++ -3- Notepad++ converts unicode curly quotes to unicode straight quotes -4- I paste that now consistent punctuation into Dialog to send off -- Why can't pencils move? Because they are stationery
Technical Details
Message-ID:
<s5q5i8$mc2$1@gioia.aioe.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<s5ilpb$kd9$1@gioia.aioe.org> <s5ir5o$7qt$1@tncsrv09.home.tnetconsulting.net> <s5irtv$ene$1@gioia.aioe.org> <s5iu6t$84h$1@tncsrv09.home.tnetconsulting.net> <w1ab8v93kvce$.dlg@b.rose.tmpbox.news.arcor.de> <s5jvec$5s7$1@gioia.aioe.org> <17rf3wjx02quj$.dlg@b.rose.tmpbox.news.arcor.de> <s5klfl$1ue5$1@gioia.aioe.org> <gr2vcjkxmucj.dlg@b.rose.tmpbox.news.arcor.de> <s5nsda$1lat$1@gioia.aioe.org> <1bdu7zohmx63b$.dlg@b.rose.tmpbox.news.arcor.de>Show Full Headers
Complete Article Headers
Message-ID: <s5q5i8$mc2$1@gioia.aioe.org> Subject: Re: Dialog signature delimiter Date: Wed, 21 Apr 2021 23:30:57 +0200 From: bill <bill@spam.invalid> References: <s5ilpb$kd9$1@gioia.aioe.org> <s5ir5o$7qt$1@tncsrv09.home.tnetconsulting.net> <s5irtv$ene$1@gioia.aioe.org> <s5iu6t$84h$1@tncsrv09.home.tnetconsulting.net> <w1ab8v93kvce$.dlg@b.rose.tmpbox.news.arcor.de> <s5jvec$5s7$1@gioia.aioe.org> <17rf3wjx02quj$.dlg@b.rose.tmpbox.news.arcor.de> <s5klfl$1ue5$1@gioia.aioe.org> <gr2vcjkxmucj.dlg@b.rose.tmpbox.news.arcor.de> <s5nsda$1lat$1@gioia.aioe.org> <1bdu7zohmx63b$.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!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.readers Organization: Aioe.org NNTP Server Lines: 55 Nntp-Posting-Host: tKMeCZpOoHFkQLaFKeAqow.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.41 (51e03d8d.9.298) X-Notice: Filtered by postfilter v. 0.9.2