Re: Retiring some encodings? - Mailing list pgsql-hackers

From DEVOPS_WwIT
Subject Re: Retiring some encodings?
Date
Msg-id 45b4b689-0e78-4d30-a5f9-1a39d01ab2b7@ww-it.cn
Whole thread Raw
In response to Re: Retiring some encodings?  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Retiring some encodings?
List pgsql-hackers

Hi Michael

Yeah, that's a good point.  I would also question what's the benefit
in using GB18030 over UTF-8, though.  An obvious one I can see is
because legacy applications never get updated.

The GB18030 encoding standard is a mandatory Chinese character encoding standard required by regulations. Software sold and used in China must support GB18030, with its latest version being the 2023 edition. The primary advantage of GB18030 is that most Chinese characters require only 2 bytes for storage, whereas UTF-8 necessitates 3 bytes for the same characters. This makes GB18030 significantly more storage-efficient compared to UTF-8 in terms of space utilization.

Tony

pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: PATCH: jsonpath string methods: lower, upper, initcap, l/r/btrim, replace, split_part
Next
From: Thomas Munro
Date:
Subject: Re: Non-reproducible AIO failure