🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262330

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

#262330
From: Sandman
Date: Tue, 03 Oct 2017 16:31
46 lines
2734 bytes
In article <oqteek$1jq8$1@gioia.aioe.org>, June Bug wrote:

> The date is 02/10/2017 00:33

> > > June Bug:
> > > I will have to wait and see if this process shows curly quotes
> > > or not.
> > 
> > Sandman:
> > "big5" is chinese, so your client is not that good at guessing
> > charset encodings. Why can't you tell it to encode as utf8?
> 
> I wish that would work!
> I agree with you that Dialog picks "big5".

> Is Big5 the right content type? 
> I don't know. I really don't.

> But when I set it to UTF-8, it fails as it will in this test below:
> <https://practicaltypography.com/straight-and-curly-quotes.html>
> "That's a 'magic' sock." <== straight quotes
> ¡§That¡¦s a ¡¥magic¡¦ sock.¡¨ <== curly quotes

> I think setting the header does nothing. I think someone said the
> trick is to get Dialog to do the right thing.

> But if my Dialog newsreader is setting the header to "Content Type=
> big5", how do I tell Dialog to set the header to UTF-8 and have it
> actually work?

> The header above will be UTF-8 but it won't work as we already
> tested that.

Like I said, the header means nothing. I.e. you can set it to "CatSpawn" if 
you like, but if your news client send it encoded as big5 or US-ASCII or 
whatever, that header is just text.

Any proper news client should be able to be user-configured to set what text-
encoding it should use for posting articles, and then *it* should set the 
header accordingly. 

What you have now is a discrepancy between what your news client uses to 
encode the text and what you manually set as the text encoding.

-- 
Sandman
Technical Details
Message-ID: <sandman-a7e5f0e507979af580a79b3ebdfb7f20@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-mail
References: <oqesf0$1q6$1@gioia.aioe.org> <oqet10$2fh$1@gioia.aioe.org> <AABZy13wD4AAAAe+.A1.flnews@WStation5.stz-e.de> <xux29jwha1lv.dlg@sqwertz.com> <oqpkah$1n4n$1@gioia.aioe.org> <oqpkk4$1ngk$1@gioia.aioe.org> <oqs5iq$1hoo$1@gioia.aioe.org> <sandman-3360d524967406f97238e53a895e4d06@individual.net> <oqteek$1jq8$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <sandman-a7e5f0e507979af580a79b3ebdfb7f20@individual.net>
Subject: Re: Re: Re: [dialog] What is the trick to get dialog to NOT replace curly quotes & apostrophes with cent
Date: Tue, 03 Oct 2017 16:31:57 +0000
From: Sandman <mr@sandman.net>
References: <oqesf0$1q6$1@gioia.aioe.org> <oqet10$2fh$1@gioia.aioe.org> <AABZy13wD4AAAAe+.A1.flnews@WStation5.stz-e.de> <xux29jwha1lv.dlg@sqwertz.com> <oqpkah$1n4n$1@gioia.aioe.org> <oqpkk4$1ngk$1@gioia.aioe.org> <oqs5iq$1hoo$1@gioia.aioe.org> <sandman-3360d524967406f97238e53a895e4d06@individual.net> <oqteek$1jq8$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: 46
X-Trace: individual.net 5Hfx5sCislirqSwV3kCRcQ1IBXXUv4czRGCdkQRDaTvViMDlQ=
Cancel-Lock: sha1:8dt3fhTWWJEOIUCZM6uSaHQgTE8=
User-Agent: Sandmania 2.0
X-Received-Bytes: 2569
X-Received-Body-CRC: 547812186