gb18030_2022
gb18030_2022
ivorysql : Support GB18030-2022 and UTF-8 conversion
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 9190 | gb18030_2022 | ivorysql | 1.0 | SIM | Apache-2.0 | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
--s-dt- | No | Yes | No | Yes | no | yes |
| Relationships | |
|---|---|
| Schemas | pg_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
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| 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 / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
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 cacheInstall 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 18Create this extension with:
CREATE EXTENSION gb18030_2022;Usage
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