🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262326

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

#262326
From: Michael Bäuerle
Date: Tue, 03 Oct 2017 13:30
32 lines
2494 bytes
June Bug wrote:
> The date is 30/09/2017 15:56
> > 
> > IIRC the problem is that Dialog internally uses UTF-16 and is not able
> > to correctly combine Surrogate Pairs while converting data to UTF-8.
> > The Surrogate Codepoints are still present in the UTF-8 output (but
> > not allowed there).
> > 
> > With UTF-7 the problem does not exist, because UTF-7 uses UTF-16 (with
> > additional Base64 transfer encoding as part of the UTF).
> 
> Does this mean I should change what I currently have in the 
> Settings > General settings > Charsets 
> 
> To add the following "Allowed charsets for your postings"
> FROM: 
> us-ascii
> utf-8
> 
> TO: 
> us-ascii
> utf-7
> utf-8

IMHO yes (because of the UTF-8 bug in Dialog). 

> Here is a test of that latest setting above:
> <https://practicaltypography.com/straight-and-curly-quotes.html>
> "That's a 'magic' sock." <-- straight quotes
> “That’s a ‘magic’ sock.” <-- curly quotes

Looks good.
Technical Details
Message-ID: <AABZ05DwFwkAAAuC.A1.flnews@Server4.micha.freeshell.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> <oqga38$8j0$1@gioia.aioe.org> <oqgajq$9gr$1@gioia.aioe.org> <sandman-130970e08c9839d8070373124662a154@individual.net> <m5w64t4mq22h$.1d4xbo6h1fuhj$.dlg@40tude.net> <AABZz7A6DNsAAAZs.A1.flnews@Server4.micha.freeshell.org> <1g684du6pz1qu.elzhqt8tdtgk$.dlg@40tude.net> <AABZz76TDN8AAAZs.A1.flnews@Server4.micha.freeshell.org> <oqvjg9$12oo$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <AABZ05DwFwkAAAuC.A1.flnews@Server4.micha.freeshell.org>
Subject: Re: [dialog] What is the trick to get dialog to NOT replace curly quotes & apostrophes with cent signs?
Date: Tue, 3 Oct 2017 13:30:24 -0000
From: Michael Bäuerle <michael.baeuerle@gmx.net>
References: <oqesf0$1q6$1@gioia.aioe.org> <oqet10$2fh$1@gioia.aioe.org> <AABZy13wD4AAAAe+.A1.flnews@WStation5.stz-e.de> <oqga38$8j0$1@gioia.aioe.org> <oqgajq$9gr$1@gioia.aioe.org> <sandman-130970e08c9839d8070373124662a154@individual.net> <m5w64t4mq22h$.1d4xbo6h1fuhj$.dlg@40tude.net> <AABZz7A6DNsAAAZs.A1.flnews@Server4.micha.freeshell.org> <1g684du6pz1qu.elzhqt8tdtgk$.dlg@40tude.net> <AABZz76TDN8AAAZs.A1.flnews@Server4.micha.freeshell.org> <oqvjg9$12oo$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
Lines: 32
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net GuOezofhls+MYao1lRXJ+QJ/3I9T05UM0l2RJ/v/vX+eD44TFN
X-Orig-Path: not-for-mail
Cancel-Lock: sha256:5w7+WRxFknCMAQKuvvpv5BVpel9UUR8KpGen3rxefbQ= sha1:O/cOtq/5wGOTlL+K93kD+KSenlY=
Injection-Date: Tue, 3 Oct 2017 13:30:24 -0000
User-Agent: flnews/0.14 (for HP-UX)
X-Received-Body-CRC: 373091285
X-Received-Bytes: 2381