Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t838J-001hKE-Fp for pgsql-docs@arkaria.postgresql.org; Mon, 04 Nov 2024 19:53:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t838G-004dSt-K7 for pgsql-docs@arkaria.postgresql.org; Mon, 04 Nov 2024 19:53:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t838G-004dSl-CU for pgsql-docs@lists.postgresql.org; Mon, 04 Nov 2024 19:53:00 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t838E-000BLC-6G; Mon, 04 Nov 2024 19:52:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=yt1rh18nFb5dg3/GDhSRAiFdSknLK2e5PbumPCHNPwU=; b=QFlO9 QBp+hUkgkU0aE6YPQc+6zg6UW8HXtJFxKtesuatFfB5RduZMYt5Cggh8gbGzJ3cObsJe4/4cJH4AF PmzEcyK9+sV8SoAes8ZiK/tAQ02HENK40oULMnivOSZ9qBYnbt/qPq3ZC4dXGFK1nHCcJMu4GjTUy CRcrJexy8Ax5dvGnT8dXuy/2KrEyK7ZeDE+C5v76rQxiDUv6JdOMLIC/Z+ldUzJCOVFM0iOZXZNwk /30S6/Y7c5wtiZEXqPxVmlDd/qXjmAFgv7c6xxe2MmMew7vbA1hq2jCIxZsIKTQeU5IYAiatIsCbU CAJ0IXz6hbD9w14yYz7UP7th5Oxfg==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1t838D-001Ley-0Q; Mon, 04 Nov 2024 14:52:57 -0500 Date: Mon, 4 Nov 2024 14:52:57 -0500 From: Bruce Momjian To: Peter Eisentraut Cc: PostgreSQL-documentation , Tatsuo Ishii Subject: Re: pgsql: doc: improve build for non-Latin1 characters Message-ID: References: <2c5dd601-b245-4092-9c27-6d1ad51609df@eisentraut.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2c5dd601-b245-4092-9c27-6d1ad51609df@eisentraut.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Nov 4, 2024 at 08:02:18AM +0100, Peter Eisentraut wrote: > I'm surprised this was committed. I don't think there was consensus that (thread moved to docs) Well, I posted the final patch on October 15, and though the thread was active with comments, no one had any feedback for my patch so I assumed it was acceptable. > this is the right direction. Moreover, this touched a couple of files that > it shouldn't have: > > doc/src/sgml/images/genetic-algorithm.svg is a generated file that shouldn't > be changed directly. In fact, adding the *.svg files to the check-nbsp > target is therefore also wrong. Good point. I have removed the SVG check from the Makefile. I also figured out the UTF8 non-Latin1 spaces came from doc/src/sgml/images/genetic-algorithm.gv: a4 -> a5[xlabel="false ", fontsize=10]; a4 -> end[xlabel="true ", fontsize=10]; Are those spaces before the close quotes expected? Maybe they are used to distance the text from an image. > The chunk in doc/src/sgml/stylesheet-man.xsl was copied from the upstream > stylesheets, and changing it causes extra differences that would make future > maintenance harder. Also, man stylesheets have by definition nothing to do > with the pdf builds, so why do they need to be touched? Wow, I had no idea that UTF8 quotes would actually work in XML files. If you think they actually work we can put them back but I don't know how to test if they are working properly or not. I assume ASCII double quotes do work. I am thinking Tatsuo's idea of using iconv to check files with any non-ASCII characters is a better approach and will reply to that thread. -- Bruce Momjian 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?"