From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Jeff Davis <pgsql@j-davis.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Use ICU by default at initdb time.
Date: Fri, 10 Mar 2023 10:59:12 +0100
Message-ID: <dab5ce1a-0f1d-38cd-1cb4-f2b0b2d229e0@enterprisedb.com> (raw)
In-Reply-To: <d191d5841347301a8f1238f609471ddd957fc47e.camel@j-davis.com>
References: <E1paLfy-002jGI-D8@gemulon.postgresql.org>
<d191d5841347301a8f1238f609471ddd957fc47e.camel@j-davis.com>
On 10.03.23 03:26, Jeff Davis wrote:
> That's because ICU always uses UTF-8 by default. ICU works just fine
> with many other encodings; is there a reason it doesn't take it from
> the environment just like for provider=libc?
I think originally the locale forced the encoding. With ICU, we have a
choice. We could either stick to the encoding suggested by the OS, or
pick our own.
Arguably, if we are going to nudge toward ICU, maybe we should nudge
toward UTF-8 as well.
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-committers@postgresql.org
Cc: peter.eisentraut@enterprisedb.com, pgsql@j-davis.com, pgsql-hackers@postgresql.org
Subject: Re: pgsql: Use ICU by default at initdb time.
In-Reply-To: <dab5ce1a-0f1d-38cd-1cb4-f2b0b2d229e0@enterprisedb.com>
References: <E1paLfy-002jGI-D8@gemulon.postgresql.org> <d191d5841347301a8f1238f609471ddd957fc47e.camel@j-davis.com> <dab5ce1a-0f1d-38cd-1cb4-f2b0b2d229e0@enterprisedb.com>
* 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