Article View: news.software.readers
Article #262312Re: [dialog] What is the trick to get dialog to NOT replace curly quotes & apostrophes with cent signs?
From: Michael Bäuerle
Date: Sat, 30 Sep 2017 15:56
Date: Sat, 30 Sep 2017 15:56
16 lines
2079 bytes
2079 bytes
Jernej Simončič wrote: > On Sat, 30 Sep 2017 14:54:50 -0000, Michael Bäuerle wrote: > > > > ... as long as no Unicode Codepoint beyond the BMP is involved. > > Something like: 😞 (U+1F61E) > > Yeah, although it appears that switching to UTF-7 works for those > characters. 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).
Technical Details
Message-ID:
<AABZz76TDN8AAAZs.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-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <AABZz76TDN8AAAZs.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: Sat, 30 Sep 2017 15:56:03 -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> 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: 16 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net l+qxxGxQGGk1n45wZXediQjAoDccjXaBv9U4KIwDajkA+2h8CL X-Orig-Path: not-for-mail Cancel-Lock: sha256:tirP40H9tzW94R0j4GW5TI1fNwAnWdgt2cWGVEW08T0= sha1:wdKBykeR8pazceKoGzKRhir1+Pk= Injection-Date: Sat, 30 Sep 2017 15:56:03 -0000 User-Agent: flnews/0.14 (for HP-UX) X-Received-Bytes: 1982 X-Received-Body-CRC: 963124847