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.92) (envelope-from ) id 1jISuR-0008Su-32 for pgsql-general@arkaria.postgresql.org; Sun, 29 Mar 2020 08:03:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jISuP-0003mk-TL for pgsql-general@arkaria.postgresql.org; Sun, 29 Mar 2020 08:03:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jISuP-0003md-GH for pgsql-general@lists.postgresql.org; Sun, 29 Mar 2020 08:03:05 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jISuK-0008Db-Rh for pgsql-general@postgresql.org; Sun, 29 Mar 2020 08:03:04 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 2C58D1BA3; Sun, 29 Mar 2020 11:02:58 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 74vLkxJLC+Hy; Sun, 29 Mar 2020 11:02:55 +0300 (EEST) Received: from mail.hot.ee (hot-relayhost2.estpak.ee [213.180.2.80]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id E71CF1B44; Sun, 29 Mar 2020 11:02:55 +0300 (EEST) Received: from dell2 (66-63-196-88.sta.estpak.ee [88.196.63.66]) (Authenticated sender: kobruleht2) by HOT-Relayhost2.estpak.ee (Postfix) with ESMTPSA id 48qp3y4L7Vz2j7; Sun, 29 Mar 2020 11:02:53 +0300 (EEST) Message-ID: <9FADB15B59E64B1AACA7518F9EA217D6@dell2> From: "Andrus" To: "pgsql-general" , "Adrian Klaver" References: <774c7cfe-43ea-03a6-1c88-31f51a39fd4a@aklaver.com> <95D844CA8C2546429693F5040343B223@dell2> In-Reply-To: Subject: Re: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore Date: Sun, 29 Mar 2020 10:56:24 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-1257"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi! >> System Locale: et;Eesti >> Input Locale: et;Eesti >Hmm, I was expecting to see et_EE though I will admit to not truly >understanding how Windows does locales. >I should have asked earlier, in the Postgres instance on Windows what does >\l show for template0? "D:\Program Files\PostgreSQL\12\bin\psql" postgres postgres psql (12.2) WARNING: Console code page (775) differs from Windows code page (1257) 8-bit characters might not work correctly. See psql reference page "Notes for Windows users" for details. Type "help" for help. postgres=# \l template0 List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges -----------+----------+----------+-----------------------+-----------------------+----------------------- template0 | postgres | UTF8 | Estonian_Estonia.1257 | Estonian_Estonia.1257 | =c/postgres + | | | | | postgres=CTc/postgres (1 row) Andrus.