Article View: news.software.readers
Article #262298Re: [dialog] What is the trick to get dialog to NOT replace curly quotes & apostrophes with cent signs?
From: Michael Bäuerle
Date: Wed, 27 Sep 2017 08:14
Date: Wed, 27 Sep 2017 08:14
44 lines
3123 bytes
3123 bytes
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.
Technical Details
Message-ID:
<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-mailReferences:
<oqesf0$1q6$1@gioia.aioe.org> <oqet10$2fh$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <AABZy13wD4AAAAe+.A1.flnews@WStation5.stz-e.de> Subject: Re: [dialog] What is the trick to get dialog to NOT replace curly quotes & apostrophes with cent signs? Date: Wed, 27 Sep 2017 10:14:40 +0200 From: Michael Bäuerle <michael.baeuerle@stz-e.de> References: <oqesf0$1q6$1@gioia.aioe.org> <oqet10$2fh$1@gioia.aioe.org> 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 Supersedes: <AABZy1o3D34AAAe+.A1.flnews@WStation5.stz-e.de> Lines: 44 Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net QI2Tmec+lgMJ5+lqF6rYwA640vugSqaA6SbvQ2b81pFwSJchfh X-Orig-Path: not-for-mail Cancel-Lock: sha256:9qJJZAHgSVFEXlBJRuFn2FOhHcgGcDMG05Am3aVt9lk= sha1:CwZUvWZQfhgr+ARADFJDcKLwJfo= Cancel-Key: sha256:tqsOAWd5Xk1SdRy7nE+ie0tuDYxoP97g0Ev1+pp8G1g= sha1:PbD8HnRV65yzmlLehWanLU9Cbz4= Injection-Date: Wed, 27 Sep 2017 08:14:40 -0000 User-Agent: flnews/0.15pre24 (for NetBSD) X-Received-Body-CRC: 1615509706 X-Received-Bytes: 3010