Article View: news.software.readers
Article #264861Re: Dialog signature delimiter
From: Bernd Rose
Date: Mon, 19 Apr 2021 20:01
Date: Mon, 19 Apr 2021 20:01
28 lines
2548 bytes
2548 bytes
On Mon, 19th Apr 2021 21:25:50 +0200, bill wrote: > On Mon, 19 Apr 2021 20:29:34 +0200, Bernd Rose wrote: > >> There's more to it. Depending on your permitted/restricted encoding >> settings and the characters contained in your message before the script >> fires up, the text may be encoded in quite a few different ways. > > I don't think there is more to it since it's ALWAYS fixed by Notepad++ Notepad++ doesn't come into play, here. You send a message from Dialog Editor. And depending on the characters found (in the current message), Dialog checks its encoding settings and formats the text to 7-Bit-ASCII, Windows-1250 or its siblings, CP850 or its siblings, UTF-7, UTF-8,... Every message /may/ be sent with a different encoding. The OnBeforeSending script needs to replace characters formatted in one of the afore mentioned encodings. The letter รค, for instance may be found in this text buffer as char 0x84, 0xE4, word 0xC3A4 and in several other ways. Each variant has to be replaced, if the source encoding is not fixed. (Which in itself usually wouldn't be a good idea, either.) Moreover, replacing a character 0x84 with (e.g.) ae under the assumption, it would have the meaning รค, could be wrong, altogether. If the source encoding happens to be Ansi-1252, this byte position represents the lower curly quotation marks. Bernd
Technical Details
Message-ID:
<gr2vcjkxmucj.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-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>Show Full Headers
Complete Article Headers
Message-ID: <gr2vcjkxmucj.dlg@b.rose.tmpbox.news.arcor.de> Subject: Re: Dialog signature delimiter Date: Mon, 19 Apr 2021 22:01:33 +0200 From: Bernd Rose <b.rose.tmpbox@arcor.de> 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> 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 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Injection-Info: solani.org; logging-data="28740"; mail-complaints-to="abuse@news.solani.org" User-Agent: 40tude_Dialog/2.0.15.41 (d414b0ca.179.279) Cancel-Lock: sha1:T0znp8pA3AqYJZEnhr/BQzjmdrA= X-User-Id: eJwFwQkBwDAIA0BLPCl0cigQ/xJ2dzw0OhEncHi49e6Y6lcGZ6dtcNZ2kGnfE6PSLIiht9OfQFpg5T2dBTBX976U1VzZH++/Gpw=