Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ej6u1-0007VH-V7 for pgsql-general@arkaria.postgresql.org; Tue, 06 Feb 2018 17:19:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ej6u0-0003i4-IH for pgsql-general@arkaria.postgresql.org; Tue, 06 Feb 2018 17:19:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ej6u0-0003ht-AQ for pgsql-general@lists.postgresql.org; Tue, 06 Feb 2018 17:19:28 +0000 Received: from [195.159.176.226] (helo=blaine.gmane.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ej6tx-0007bU-4H for pgsql-general@postgresql.org; Tue, 06 Feb 2018 17:19:27 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ej6rg-0001CN-MU for pgsql-general@postgresql.org; Tue, 06 Feb 2018 18:17:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-general@postgresql.org From: George Neuner Subject: Re: Regex Replace with 2 conditions Date: Tue, 06 Feb 2018 12:18:52 -0500 Lines: 29 Message-ID: References: <30731.1517841786@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@blaine.gmane.org X-Newsreader: Forte Agent 6.00/32.1186 X-Antivirus: Avast (VPS 180206-0, 02/06/2018), Outbound message X-Antivirus-Status: Clean X-Host-Lookup-Failed: Reverse DNS lookup failed for 195.159.176.226 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, 6 Feb 2018 17:57:33 +0100, Francisco Olarte wrote: >So, no question mark sent, I suspect your mail chain may be playing >tricks on you, or may be you are translating to 7 bits on purpose >since your mail came with the headers: > >>>> >Content-Type: text/plain; charset=3Dus-ascii >Content-Transfer-Encoding: 7bit ><<< > >I'll suggest you fix that before participating in threads with unicode >content. Also, many programs use ? as a placeholder for something not >in its charset, so always suspect you are not seeing the right char >when you encounter one of this things. Usually I do see unicode characters correctly. My news client defaults to *sending* in ISO-8859-1 (US acsii), but it displays incoming messages in UTF-8, and in HTML if applicable ... so I'm not sure why I'm not seeing whatever it was that you actually typed. It does keep coming through as a question mark in all the responses. I read this group through the Gmane mail->news reflector ... maybe that has something to do with it? George