pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Yugo NAGATA <nagata@sraoss.co.jp>
Cc: Tatsuo Ishii <ishii@postgresql.org>
Cc: tgl@sss.pgh.pa.us
Cc: daniel@yesql.se
Cc: pgsql-hackers@postgresql.org
Subject: Re: Doc: typo in config.sgml
Date: Tue, 15 Oct 2024 16:37:05 -0400
Message-ID: <Zw7ScRYKZVj3pBva@momjian.us> (raw)
In-Reply-To: <f1bc1bcd-a71c-411a-9bfd-8cd6ec2ae007@eisentraut.org>
References: <2565921.1728531809@sss.pgh.pa.us>
	<20241010.160041.949661508167788393.ishii@postgresql.org>
	<20241011114122.c90f8a871462da36f2e2afeb@sraoss.co.jp>
	<20241011.121650.2077607600187658573.ishii@postgresql.org>
	<20241011123653.09a67d3ad7b60a59e4558403@sraoss.co.jp>
	<Zw1rf7vm3FqpItw4@momjian.us>
	<Zw1_j_jofafQbNKl@momjian.us>
	<20241015101036.d8c29e4aada1c3e92ddcef9d@sraoss.co.jp>
	<Zw6eQxtpXIccYpOQ@momjian.us>
	<f1bc1bcd-a71c-411a-9bfd-8cd6ec2ae007@eisentraut.org>

On Tue, Oct 15, 2024 at 10:34:16PM +0200, Peter Eisentraut wrote:
> On 15.10.24 18:54, Bruce Momjian wrote:
> > > I agree with encoding non-Latin1 characters and disallowing non-ASCII
> > > characters totally.
> > > 
> > > I found your patch includes fixes in *.svg files, so how about checking
> > > also them by check-non-ascii? Also, I think it is better to use perl instead
> > > of grep because non-GNU grep doesn't support hex escape sequences. I've attached
> > > a updated patch for Makefile. The changes in release.sgml above is not applied
> > > yet, though.
> > Yes, good idea on using Perl and checking svg files --- I have used your
> > Makefile rule.
> > 
> > Attached is an updated patch.  I realized that the new rules apply to
> > all SGML files, not just the release notes, so I have created
> > README.non-ASCII and moved the description there.
> 
> I don't understand the point of this.  Maybe it's okay to try to detect
> certain "hidden" whitespace characters, like in the case that started this
> thread.  But I don't see the value in prohibiting all non-ASCII characters,
> as is being proposed here.

Well, we can only use Latin-1, so the idea is that we will be explicit
about specifying Latin-1 only as HTML entities, rather than letting
non-Latin-1 creep in as UTF8.  We can exclude certain UTF8 or SGML files
if desired.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  When a patient asks the doctor, "Am I going to die?", he means 
  "Am I going to die soon?"





view thread (70+ messages)  latest in thread

Message-ID: <Zw7ScRYKZVj3pBva@momjian.us>
Permalink:  ../Zw7ScRYKZVj3pBva@momjian.us/
Also on:    postgresql.org/message-id/Zw7ScRYKZVj3pBva@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: bruce@momjian.us, peter@eisentraut.org, nagata@sraoss.co.jp, ishii@postgresql.org, tgl@sss.pgh.pa.us, daniel@yesql.se
  Subject: Re: Doc: typo in config.sgml
  In-Reply-To: <Zw7ScRYKZVj3pBva@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox