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 1t74PR-00HNZJ-Ka for pgsql-hackers@arkaria.postgresql.org; Sat, 02 Nov 2024 03:02:41 +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 1t74PO-002eYX-G2 for pgsql-hackers@arkaria.postgresql.org; Sat, 02 Nov 2024 03:02:38 +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 1t74PO-002eXQ-1e for pgsql-hackers@lists.postgresql.org; Sat, 02 Nov 2024 03:02:38 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t74PK-0043iV-Jk for pgsql-hackers@postgresql.org; Sat, 02 Nov 2024 03:02:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Content-Transfer-Encoding:Content-Type: Mime-Version:References:In-Reply-To:From:Subject:Cc:To:Message-Id:Date:Sender :Reply-To:Content-ID:Content-Description; bh=T5tCx6ZaHbDQQFOYM4u6ZITUiWeOn0tpEE1eqOnvQcY=; b=4oi4Ok1NDvJeWMp7DLiUsQzbvb //FQpCbmvZfq7qLa7jZ/l/m+9B2pu5sHb+1DH3LkC59cDMG31R70wyfXmvi+Hzfj1cNlg5+giKuUC kCeSY79p+JvDYu6DFK2Exzs2bPAaCJgC4AlHKW9g/nyZjGa7X9eWFw8o60U5Ej2RrgVozRP9qKXfA 7kLOBYLKgJZb3hRFi+knBezHoeMjjJy2mU0l2NvcwIO+Eikf2VFFbOprJOmlRoL7JX5BRg7v1aF3U 01KIUuafFd0iA6Q6jgURJN4LJfgdgknCSHMSxSaacJJm9FZUsKhWgAjLIFewXJCNE2QWTIWdLl3fR /v5gvytg==; Received: from [2409:11:4120:300:3321:d2ca:d4bf:3818] (helo=localhost) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (Exim 4.94.2) (envelope-from ) id 1t74P9-00FGRz-Jr; Sat, 02 Nov 2024 03:02:26 +0000 Date: Sat, 02 Nov 2024 12:02:12 +0900 (JST) Message-Id: <20241102.120212.1541205818288992834.ishii@postgresql.org> To: bruce@momjian.us Cc: peter@eisentraut.org, tgl@sss.pgh.pa.us, nagata@sraoss.co.jp, daniel@yesql.se, pgsql-hackers@postgresql.org Subject: Re: Doc: typo in config.sgml From: Tatsuo Ishii In-Reply-To: References: <20241102.072700.1635141881080027242.ishii@postgresql.org> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2409:11:4120:300:3321:d2ca:d4bf:3818 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Yes, we _allow_ LATIN1 characters in the SGML docs, but I replaced the > LATIN1 characters we had with HTML entities, so there are none > currently. > > I think it is too easy for non-Latin1 UTF8 to creep into our SGML docs > so I added a cron job on my server to alert me when non-ASCII characters > appear. So you convert LATIN1 characters to HTML entities so that it's easier to detect non-LATIN1 characters is in the SGML docs? If my understanding is correct, it can be also achieved by using some tools like: iconv -t ISO-8859-1 -f UTF-8 release-17.sgml If there are some non-LATIN1 characters in release-17.sgml, it will complain like: iconv: illegal input sequence at position 175 An advantage of this is, we don't need to covert each LATIN1 characters to HTML entities and make the sgml file authors life a little bit easier. Best reagards, -- Tatsuo Ishii SRA OSS K.K. English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp