pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrus <kobruleht2@hot.ee>
To: pgsql-general <pgsql-general@postgresql.org>
To: Adrian Klaver <adrian.klaver@aklaver.com>
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
Message-ID: <9FADB15B59E64B1AACA7518F9EA217D6@dell2> (raw)
In-Reply-To: <ff63ec45-2539-dedc-747b-210937a2423b@aklaver.com>
References: <F4D04849032C4464B8FF17CB0F896F9E@dell2>
	<774c7cfe-43ea-03a6-1c88-31f51a39fd4a@aklaver.com>
	<95D844CA8C2546429693F5040343B223@dell2>
	<ff63ec45-2539-dedc-747b-210937a2423b@aklaver.com>

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. 






view thread (16+ messages)  latest in thread

Message-ID: <9FADB15B59E64B1AACA7518F9EA217D6@dell2>
Permalink:  ../9FADB15B59E64B1AACA7518F9EA217D6@dell2/
Also on:    postgresql.org/message-id/9FADB15B59E64B1AACA7518F9EA217D6@dell2

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: kobruleht2@hot.ee, adrian.klaver@aklaver.com
  Subject: Re: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore
  In-Reply-To: <9FADB15B59E64B1AACA7518F9EA217D6@dell2>
  References: <F4D04849032C4464B8FF17CB0F896F9E@dell2> <774c7cfe-43ea-03a6-1c88-31f51a39fd4a@aklaver.com> <95D844CA8C2546429693F5040343B223@dell2> <ff63ec45-2539-dedc-747b-210937a2423b@aklaver.com> <9FADB15B59E64B1AACA7518F9EA217D6@dell2>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox