🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262302

Re: [dialog] What is the trick to get dialog to NOT replace curly quotes & apostrophes with cent signs?

#262302
From: June Bug
Date: Wed, 27 Sep 2017 13:46
37 lines
2472 bytes
The date is 27/09/2017 01:14

> 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.

Now I understand that the "content type" in my header is what seems to not 
be able to handle the curly quotes.

So now the question is how to figure out what content type handles the 
curly quotes?

Whiskers suggested UTF-8 so I set this header to (hopefully) say:
   Mime-Version: 1.0
   Content-Type: text/plain; charset=UTF-8
   Content-Transfer-Encoding: 8bit

Now I will cut and paste the curly quote article again.
 <https://practicaltypography.com/straight-and-curly-quotes.html>

"That's a 'magic' sock."  <=== this has straight quotes
¡§That¡¦s a ¡¥magic¡¦ sock.¡¨  <=== this has curly quotes

I won't know if UTF-8 worked until I send this out and look at the results.
If UTF-8 doesn't work, how do I know what content types have curly quotes?
Technical Details
Message-ID: <oqga38$8j0$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
References: <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: <oqga38$8j0$1@gioia.aioe.org>
Subject: Re: [dialog] What is the trick to get dialog to NOT replace curly quotes & apostrophes with cent signs?
Date: Wed, 27 Sep 2017 13:46:17 +0000
From: June Bug <junebug55001@inbox.com>
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
Organization: Aioe.org NNTP Server
Lines: 37
NNTP-Posting-Host: nWQww88ShQLR6/pFx1rtOQ.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: 40tude_Dialog/2.0.15.84
X-Notice: Filtered by postfilter v. 0.8.2
X-Received-Bytes: 2328
X-Received-Body-CRC: 921835214