Article View: news.software.readers
Article #262303Re: [dialog] What is the trick to get dialog to NOT replace curly quotes & apostrophes with cent signs?
From: Whiskers
Date: Thu, 28 Sep 2017 12:16
Date: Thu, 28 Sep 2017 12:16
78 lines
4744 bytes
4744 bytes
On 2017-09-27, June Bug <junebug55001@inbox.com> wrote: > The date is 27/09/2017 04:40 > >> I see no cents >> <http://www.zimagez.com/zimage/screenshot2017-09-2712-27-04.php>. > > I agree. I thought it would be cents but it was something else that showed > up. > > I just want the curly quotes to show up as sent from dialog. > What should the header insert to allow curly quotes? > >> I think the clue lies in this header which your newsreader has inserted: >> Content-Type: text/plain; charset="US-ASCII" >> US-ASCII has no curly quotes, it only has basic typewriter characters. > > May I ask which "content-type" has the curly quotes? UTF-8 contains almost all the written characters to be found in any current language (but few if any 'fonts' include them all). It even has emoji. It's meant to be the current standard for 'the internet' and all current computers should be using it by default (but some old ones can't or haven't been modernised, and of course there are still old documents and web pages created using older character sets or encodings). >> When you copy/paste from something that isn't in US-ASCII you introduce >> characters which 'Dialog' can't handle and doesn't know what to do with. >> (When you copy/paste from something made using Microsoft software, you >> also introduce character codes that are not recognised by non-Microsoft >> software, which just compounds the problem). > > Yes. I didn't even mention those "hidden hyphens" that I often run into. > > I just want the received message to look like the sent message. > What content type should I use to make that happen? Whatever character set was used to create whatever it is you've copy/pasted from. But that might not help if you start with a web page (HTML uses its own way of coding for various characters) or a word processor file (word processors use all sorts of character encodings that mean nothing outside the program concerned). The only reliable method of avoiding weird characters or scrambled text in email or usenet, is to type the text yourself or at least edit it to contain only US-ASCII or UTF-8 (whichever your newsreader is set up to expect). >> It'll be fun to see what happens to the character codes scrambled by >> 'Dialog' after they've been through my newsreader and text editor. >> >> I don't know if 'Dialog' can be made to handle the current usenet >> standard character set which is UTF-8, which has a much larger range of >> characters available (but still doesn't get around all of Microsoft's >> silliness). > > Ah, UTF-8. I will try changing that in a moment as all I want to know is > what to set Dialog to in order for the curly quotes to not be replaced with > gobbledegook. > > It's that's UTF-8, is this the correct header lines to have Dialog add? > Mime-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > The next post will be set to those settings to test out the curly quotes. Rather than just set the headers, is there a setting to make sure that Dialog is actually using UTF-8? (It may be referred to as 'Unicode'). It's no use having a header that says UTF-8 if your newsreader is still actually using something else. The newsreader I use only sets the headers for UTF-8 if I send a message that includes characters that aren't US-ASCII. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Technical Details
Message-ID:
<slrnospq1q.1ij.catwheezel@ID-107770.user.individual.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-mailReferences:
<oqesf0$1q6$1@gioia.aioe.org> <slrnosn3ia.22f.catwheezel@ID-107770.user.individual.net> <oqg9i0$7jd$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnospq1q.1ij.catwheezel@ID-107770.user.individual.net> Subject: Re: [dialog] What is the trick to get dialog to NOT replace curly quotes & apostrophes with cent signs? Date: Thu, 28 Sep 2017 13:16:58 +0100 From: Whiskers <catwheezel@operamail.com> References: <oqesf0$1q6$1@gioia.aioe.org> <slrnosn3ia.22f.catwheezel@ID-107770.user.individual.net> <oqg9i0$7jd$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 X-Received: by 10.28.29.8 with SMTP id d8mr122265wmd.27.1506601019681; MIME-Version: 1.0 Newsgroups: news.software.readers Organization: is an alien concept Lines: 78 X-Trace: individual.net nEVgS7U0cvxnHd3r4rcmtwUbyc/w6ureAo+reyDU80fEnCMg9K Cancel-Lock: sha1:+rn8BWSP8IGLDYiS4+PGjX4b48c= X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_ "Pmt)1xC~QW%bU/xrlDuux";aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00 xYer];5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@ p& g^8<z5>HA User-Agent: slrn/1.0.3 (Linux) X-Received-Bytes: 4632 X-Received-Body-CRC: 546511652