Re: Re : Re: UTF-32 support in PostgreSQL ? - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Re : Re: UTF-32 support in PostgreSQL ?
Date
Msg-id CAM3SWZR-xmOGEJOE9XrjWmgXQt4afBR2uihW8BdSoWozLERtdg@mail.gmail.com
Whole thread Raw
In response to Re: Re : Re: UTF-32 support in PostgreSQL ?  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
On Mon, Oct 26, 2015 at 6:20 PM, Craig Ringer <craig@2ndquadrant.com> wrote:
> UTF-16 is like UCS-2, but adds UTF-8-like escape sequences to handle
> the high 16 bits of the 32-bit Unicode space. It combines the worst
> features of UTF-8 and UCS-2. UTF-16 is the character set used by
> Windows APIs and the ICU library.

ICU can be built to support UTF-8 natively. UTF-8 support has been at
the same level as UTF-16 support for some time now.

"English language privilege" on your part (as you put it) could be
argued if the OP was arguing for UTF-16, but since he argued for
UTF-32, I don't see how that could possibly apply. UTF-16 is slightly
preferable for storing East Asian text, but UTF-32 is a niche encoding
worldwide.

--
Peter Geoghegan


pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Re : Re: UTF-32 support in PostgreSQL ?
Next
From: Haribabu Kommi
Date:
Subject: Re: Multi-tenancy with RLS