gb18030_2022

gb18030_2022

ivorysql : Support GB18030-2022 and UTF-8 conversion

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
9190
gb18030_2022
ivorysql
1.0
SIM
Apache-2.0
C
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--s-dt-
No
Yes
No
Yes
no
yes
Relationships
Schemaspg_catalog
Siblings
ivorysql_ora
ora_btree_gin
ora_btree_gist
pg_get_functiondef
plisql

from contrib/gb18030_2022/gb18030_2022.control and package metadata

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXT
PIGSTY
1.0
18
17
16
15
14
ivorysql-
RPM
PIGSTY
5.1
18
17
16
15
14
ivorysql5-
DEB
PIGSTY
5.1
18
17
16
15
14
ivorysql-5-
Linux / PGPG18PG17PG16PG15PG14
el8.x86_64
MISS
MISS
MISS
MISS
MISS
el8.aarch64
MISS
MISS
MISS
MISS
MISS
el9.x86_64
MISS
MISS
MISS
MISS
MISS
el9.aarch64
MISS
MISS
MISS
MISS
MISS
el10.x86_64
MISS
MISS
MISS
MISS
MISS
el10.aarch64
MISS
MISS
MISS
MISS
MISS
d12.x86_64
MISS
MISS
MISS
MISS
MISS
d12.aarch64
MISS
MISS
MISS
MISS
MISS
d13.x86_64
MISS
MISS
MISS
MISS
MISS
d13.aarch64
MISS
MISS
MISS
MISS
MISS
u22.x86_64
MISS
MISS
MISS
MISS
MISS
u22.aarch64
MISS
MISS
MISS
MISS
MISS
u24.x86_64
MISS
MISS
MISS
MISS
MISS
u24.aarch64
MISS
MISS
MISS
MISS
MISS

Source

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install ivorysql;		# install via package name, for the active PG version
pig install gb18030_2022;		# install by extension name, for the current active PG version

pig install gb18030_2022 -v 18;   # install for PG 18

Create this extension with:

CREATE EXTENSION gb18030_2022;

Usage

gb18030_2022: Support GB18030-2022 and UTF-8 conversion

The gb18030_2022 extension provides conversion support between the GB18030-2022 Chinese national character encoding standard and UTF-8.

Enabling

CREATE EXTENSION gb18030_2022;

Overview

GB18030-2022 is the updated Chinese national standard for character encoding, superseding GB18030-2005. This extension enables PostgreSQL to properly handle conversion between GB18030-2022 encoded data and UTF-8.

Key Features

  • Full support for GB18030-2022 character encoding standard
  • Bidirectional conversion between GB18030-2022 and UTF-8
  • Updated character mappings per the 2022 revision of the standard
  • Handles all CJK Unified Ideographs, including Extension blocks

This extension is part of the IvorySQL project and is primarily useful for applications that need to process Chinese text data encoded in the GB18030-2022 standard.

Last updated on