Article View: news.software.readers
Article #262305Re: [dialog] What is the trick to get dialog to NOT replace curly quotes & apostrophes with cent signs?
From: Michael Bäuerle
Date: Fri, 29 Sep 2017 08:43
Date: Fri, 29 Sep 2017 08:43
45 lines
3230 bytes
3230 bytes
Sqwertz wrote: > On Thu, 28 Sep 2017 18:23:07 -0500, Sqwertz wrote: > > Michael Bäuerle wrote: > > > > > 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. > > And my headers on this message confirm that it used a correct charset > for those characters. > > MIME-Version: 1.0 > Content-Type: text/plain; charset="iso-8859-13" > Content-Transfer-Encoding: 8bit Yes, your article looks good. ISO 8859-13 [1] provides the codes 0xA1, 0xB4 and 0xFF for the quote characters. My newsreader cannot send ISO 8859-13, therefore the text above should be converted back to Unicode now. But in general using the minimum sufficient character set is the behaviour intended by MIME. Quoted from RFC2046 [2]: | | In general, composition software should always use the "lowest common | denominator" character set possible. For example, if a body contains | only US-ASCII characters, it SHOULD be marked as being in the US- | ASCII character set, not ISO-8859-1, which, like all the ISO-8859 | family of character sets, is a superset of US-ASCII. More generally, | if a widely-used character set is a subset of another character set, | and a body contains only characters in the widely-used subset, it | should be labelled as being in that subset. This will increase the | chances that the recipient will be able to view the resulting entity | correctly. __________ [1] <https://en.wikipedia.org/wiki/ISO/IEC_8859-13> [2] <https://tools.ietf.org/html/rfc2046#section-4.1.2>
Technical Details
Message-ID:
<AABZzgfKA1gAAAGq.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> <AABZy13wD4AAAAe+.A1.flnews@WStation5.stz-e.de> <xux29jwha1lv.dlg@sqwertz.com> <1k4p8bd04y3ef$.dlg@sqwertz.com>Show Full Headers
Complete Article Headers
Message-ID: <AABZzgfKA1gAAAGq.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: Fri, 29 Sep 2017 10:43:54 +0200 From: Michael Bäuerle <michael.baeuerle@stz-e.de> References: <oqesf0$1q6$1@gioia.aioe.org> <oqet10$2fh$1@gioia.aioe.org> <AABZy13wD4AAAAe+.A1.flnews@WStation5.stz-e.de> <xux29jwha1lv.dlg@sqwertz.com> <1k4p8bd04y3ef$.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-mail Newsgroups: news.software.readers Lines: 45 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 6ogpo12+nYDya4LXpWfibwyBKGQTdbyY1N6Jq7nsDB5oLSp3sQ X-Orig-Path: not-for-mail Cancel-Lock: sha256:1sKqobMBlA+U2GXCYfrKfRAGbYeclk655QC/BFylnFM= sha1:fWjKyiC6M6QckjlI6fopJx1/PJQ= Injection-Date: Fri, 29 Sep 2017 08:43:54 -0000 User-Agent: flnews/0.15pre24 (for NetBSD) X-Received-Body-CRC: 3063199621 X-Received-Bytes: 3117