Re: Questionable description about character sets - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: Questionable description about character sets
Date
Msg-id 29fd7c6b-b3cd-4d45-977c-d9ef2f88378a@proxel.se
Whole thread Raw
In response to Questionable description about character sets  (Tatsuo Ishii <ishii@postgresql.org>)
Responses Re: Questionable description about character sets
List pgsql-hackers
On 2/11/26 10:58 AM, Tatsuo Ishii wrote:
> "23.3.1. Supported Character Sets
> Table 23.3 shows the character sets available for use in PostgreSQL."
> 
> https://www.postgresql.org/docs/current/multibyte.html#MULTIBYTE-CHARSET-SUPPORTED
> 
> But the table actually shows encodings (more precisely, "character
> encoding scheme") (BIG5...EUC_JP... UTF8). I think we need one more
> column for "character sets" (more precisely, "coded character sets").
> 
> Encoding   Character set        ...
> BIG5       Big5-2003
> :
> EUC_JP     ASCII, JIS X 0208, JIS X 0212, JIS X 0201
> :
> UTF8       Unicode    

Wouldn't that make the table very wide? And for e.g. European character 
encodings I am not sure it is that useful since most or maybe even all 
of them are subsets of unicode, it mostly gets interesting for encodings 
which support characters not in unicode, right?

Andreas




pgsql-hackers by date:

Previous
From: Bertrand Drouvot
Date:
Subject: Re: Replace literal 0 values with the appropriate Invalid* constants
Next
From: Peter Smith
Date:
Subject: Re: use the malloc macros in pg_dump.c