Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGPPT-0003si-1b for pgsql-general@arkaria.postgresql.org; Fri, 04 Oct 2019 15:22:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iGPPR-000633-G9 for pgsql-general@arkaria.postgresql.org; Fri, 04 Oct 2019 15:22:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGPPR-00062u-6i for pgsql-general@lists.postgresql.org; Fri, 04 Oct 2019 15:22:21 +0000 Received: from smtp.burggraben.net ([2a01:4f8:140:50a2::3:1]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGPPK-0000Ke-Hk for pgsql-general@lists.postgresql.org; Fri, 04 Oct 2019 15:22:20 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id A531F600301; Fri, 4 Oct 2019 17:22:13 +0200 (CEST) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IMXEcfl8RZNZ; Fri, 4 Oct 2019 17:22:04 +0200 (CEST) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS; Fri, 4 Oct 2019 17:22:04 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id BB75B1399EF; Fri, 4 Oct 2019 17:22:03 +0200 (CEST) Date: Fri, 4 Oct 2019 17:22:03 +0200 From: Christoph Moench-Tegeder To: Matthias Apitz Cc: pgsql-general@lists.postgresql.org Subject: Re: Perl DBI converts UTF-8 again to UTF-8 before sending it to the server Message-ID: <20191004152203.GB2532@elch.exwg.net> References: <20191004132529.GA2871@c720-r342378> <20191004142932.GA2532@elch.exwg.net> <20191004150749.GB3724@c720-r342378> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191004150749.GB3724@c720-r342378> User-Agent: Mutt/1.12.2 (2019-09-21) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ## Matthias Apitz (guru@unixarea.de): > my $text = "รค \xc3\xa4"; That will only work if you remove "use utf8". And then other stuff may break. Regards, Christoph -- Spare Space