pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yugo Nagata <nagata@sraoss.co.jp>
To: Tatsuo Ishii <ishii@postgresql.org>
Cc: tgl@sss.pgh.pa.us
Cc: bruce@momjian.us
Cc: daniel@yesql.se
Cc: pgsql-hackers@postgresql.org
Subject: Re: Doc: typo in config.sgml
Date: Fri, 11 Oct 2024 11:41:22 +0900
Message-ID: <20241011114122.c90f8a871462da36f2e2afeb@sraoss.co.jp> (raw)
In-Reply-To: <20241010.160041.949661508167788393.ishii@postgresql.org>
References: <20241009.114929.1396811718032371256.ishii@postgresql.org>
	<ZwdFHW11D9jv778P@momjian.us>
	<2565921.1728531809@sss.pgh.pa.us>
	<20241010.160041.949661508167788393.ishii@postgresql.org>

On Thu, 10 Oct 2024 16:00:41 +0900 (JST)
Tatsuo Ishii <ishii@postgresql.org> wrote:

> > Bruce Momjian <bruce@momjian.us> writes:
> >> Can we use Unicode in the SGML files?
> > 
> > I believe we've been doing it for contributors' names that require
> > non-ASCII letters, but not in any other places.
> 
> We have non-ASCII letters in charset.sgml too, to show some examples
> of collation.

We can check non-ASCII letters SGML/XML files by preparing "allowlist"
that contains lines which are allowed to have non-ascii characters,
although this list will need to be maintained when lines in it are modified.
I've attached a patch to add a simple Perl script to do this.

During testing this script, I found "stylesheet-man.xsl" also has non-ascii
characters. I don't know these characters are really necessary though, since
I don't understand this file well.

Regards,
Yugo Nagata


-- 
Yugo Nagata <nagata@sraoss.co.jp>

Attachments:

  0001-Doc-Add-check-to-detect-non-ASCII-characters.patch (text/x-diff, 0B) download

view thread (70+ messages)  latest in thread

Message-ID: <20241011114122.c90f8a871462da36f2e2afeb@sraoss.co.jp>
Permalink:  ../20241011114122.c90f8a871462da36f2e2afeb@sraoss.co.jp/
Also on:    postgresql.org/message-id/20241011114122.c90f8a871462da36f2e2afeb@sraoss.co.jp

 ·  · 

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: nagata@sraoss.co.jp, ishii@postgresql.org, tgl@sss.pgh.pa.us, bruce@momjian.us, daniel@yesql.se
  Subject: Re: Doc: typo in config.sgml
  In-Reply-To: <20241011114122.c90f8a871462da36f2e2afeb@sraoss.co.jp>

* 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