Article View: news.software.readers
Article #262304Re: [dialog] What is the trick to get dialog to NOT replace curly quotes & apostrophes with cent signs?
From: Sqwertz
Date: Thu, 28 Sep 2017 23:23
Date: Thu, 28 Sep 2017 23:23
98 lines
4459 bytes
4459 bytes
On Wed, 27 Sep 2017 10:14:40 +0200, Michael Bäuerle wrote: > June Bug wrote: >> The date is 26/09/2017 17:47 >>> >>> What is the trick to get dialog to NOT send out cent signs in place of >>> curly quotes and apostrophes? >> >> Wow. That last example was munged far worse than I had thought it would be. >> >> Here's a simpler example that just replaces the curly quotes and >> apostrophes with cent signs. >> >> All I want is for dialog to stop doing that replacement so that Dialog >> sends what Dialog shows and the recipient sees what I see when I'm sending >> it. >> >> 0. Here is an arbitrary web page with curly quotes. >> <http://bgr.com/2017/09/26/macos-high-sierra-keychain-password-hack/> >> >> 1. Here is what it looks like on the web page. >> <http://img4.imagetitan.com/img.php?image=16_quote_x.jpg> >> >> 2. Here is what it looks like cut and pasted into Dialog. >> <http://img4.imagetitan.com/img.php?image=16_quote_y.jpg> >> >> 3. But this will be all screwed up when you get it. >> ?If I can find these bugs, obviously nation states, malicious adversaries, >> and cybercriminals have tons more time and resources. I?m sure they?re >> finding these bugs as well,? he added. > > This was completely broken because the MIME declaration was "US-ASCII". > >> How do I fix this curly-quote problem using Dialog? > > I don't know much details about Dialog, but first you should check > whether Dialog is correctly configured to handle such content at all. > > If you quote the following lines: > >| “If I can find these bugs, obviously nation states, malicious >| adversaries, and cybercriminals have tons more time and resources. >| I’m sure they’re finding these bugs as well,” he added. > > this will check the internal handling of such characters. If this > works, the problem is only copy&paste related. When I paste this paragraph in to a Dialog composition window: (Ignore my User-Agent header in this message) >| “If I can find these bugs, obviously nation states, malicious >| adversaries, and cybercriminals have tons more time and resources. >| I’m sure they’re finding these bugs as well,” he added. The "Status:" line in the composition window changes from "US-ASCII" to "Charset iso-8859-13" as soon as you do the paste. I have a slew of "Allowable charsets" defined in "General Settings -> Charsets", as well as some disallowed ones, such as WINDOWS-* and MAC-* https://s26.postimg.org/n72gpvn21/Charsets.jpg The Dialog composition windows should automatically detect the charset being used. Make sure those are defined. I have not changed mine from the default. I have the following in my settings.ini file: [charsetrulespergroup] 9=|^soc\.culture\.slovenia| 8=|^soc\.culture\.croatia| 7=|^soc\.culture\.ukrainian| 6=|^soc\.culture\.greek| 5=|^relcom\.| Charset6=|ISO-8859-7| Charset2=|ISO-8859-1| Charset9=|ISO-8859-2| Charset5=|KOI8-R| Charset1=|ISO-8859-1| Charset8=|ISO-8859-2| Charset4=|KOI8-R| Charset0=|ISO-8859-1| Charset7=|WINDOWS-1251| Charset3=|ISO-8859-1| 4=|^fido7\.| 3=|^fido\.| 2=|^dk\.| 1=|^no\.| 0=|^fr\.| count=10 Don't ask me what any of the means! :-) I have the whole AIOE.org domain killfiled because the admin is an asshole and hosts mostly trolls and forgers. So if you respond with an AIOE Message-ID I will not see it (as I already don't see several of the posts already to this thread). -sw
Technical Details
Message-ID:
<xux29jwha1lv.dlg@sqwertz.com>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-mailReferences:
<oqesf0$1q6$1@gioia.aioe.org> <oqet10$2fh$1@gioia.aioe.org> <AABZy13wD4AAAAe+.A1.flnews@WStation5.stz-e.de>Show Full Headers
Complete Article Headers
Message-ID: <xux29jwha1lv.dlg@sqwertz.com> Subject: Re: [dialog] What is the trick to get dialog to NOT replace curly quotes & apostrophes with cent signs? Date: Thu, 28 Sep 2017 18:23:07 -0500 From: Sqwertz <swertz@cluemail.compost> References: <oqesf0$1q6$1@gioia.aioe.org> <oqet10$2fh$1@gioia.aioe.org> <AABZy13wD4AAAAe+.A1.flnews@WStation5.stz-e.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 Newsgroups: news.software.readers User-Agent: Unison/2.1.10 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-13" Content-Transfer-Encoding: 8bit Organization: Me, Myself, and Inc. X-no-archive: yes Lines: 98 X-Complaints-To: abuse@blocknews.net NNTP-Posting-Date: Thu, 28 Sep 2017 23:22:20 UTC X-Received-Bytes: 4221 X-Received-Body-CRC: 488267971