Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nYWyu-00059T-Rq for pgsql-general@arkaria.postgresql.org; Sun, 27 Mar 2022 17:47:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nYWyt-0001l8-No for pgsql-general@arkaria.postgresql.org; Sun, 27 Mar 2022 17:47:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nYWys-0001kw-QR for pgsql-general@lists.postgresql.org; Sun, 27 Mar 2022 17:47:11 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nYWyp-0005NH-1U for pgsql-general@lists.postgresql.org; Sun, 27 Mar 2022 17:47:10 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id A4BDF5C0134; Sun, 27 Mar 2022 13:47:04 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 27 Mar 2022 13:47:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=AExk1Lo1WhcTQd68qrxyGTG/Az67X/z0692vKAfEAeg=; b=JFHVnGd6 ZSRkKArkpr2TaUlq8dG0EXVIP6hpS5yl7q5kPX/vheZoVnIJmW13x8S5yRILdA0g YGUkBVPBjP/mVML+DkfzmUtQmhlhbURMqansHpBMi7doPFj7c8np8iKURmkWnZHa THtvWNN9ex3r9vVRCF2TRZaBGCz0FuCkSsRtzJAygUg9vtGm9TW2PA0sNhuRN38b v2EW82W4lA29FE1rRVeKI23QD/eZahGSN3WAhDchmB8YxXBGRVbuebAq1aYMNl68 udL/UtDJVMo/Co7JXJplGyUgWJIIXG2vW+j6UQDGQgl5OUIxCRPoTRJaU2cTLp6d RYhCY3gaSqUtyw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehhedguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepjeelvdehueefvddvueejffetvdeggeegieejgedthfei heeljeettdevffdvudffnecuffhomhgrihhnpeigohgvvhdruggvpdgvnhhtvghrphhrih hsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 27 Mar 2022 13:47:04 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 67CED2A08E2; Sun, 27 Mar 2022 14:47:23 -0300 (-03) Date: Sun, 27 Mar 2022 19:47:23 +0200 From: Alvaro Herrera To: Ralf Schuchardt Cc: Marco Lechner , pgsql-general@lists.postgresql.org Subject: Re: support for DIN SPEC 91379 encoding Message-ID: <202203271747.p2lx5is5rdtj@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Mar-27, Ralf Schuchardt wrote: > where did you read, that this DIN SPEC 91379 norm is incompatible with UTF-8? > > In the document „String.Latin+ 1.2: eine kommentierte und erweiterte > Fassung der DIN SPEC 91379. Inklusive einer umfangreichen Liste häufig > gestellter Fragen. Herausgegeben von der Fachgruppe String.Latin“ > linked here https://www.xoev.de/downloads-2316#StringLatin it is said, > that the spec is a strict subset of unicode (E.1.6), and it is also > mentioned in E.1.4, that in UTF-8 all unicode characters can be > encoded. Therefore UTF-8 can be used to encode all DIN SPEC 91379 > characters. So the remaining question is whether DIN SPEC 91379 requires an implementation to support character U+0000. If it does, then PostgreSQL is not conformant, because that character is the only one in Unicode that we don't support. If U+0000 is not required, then PostgreSQL is okay. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/