pgsql: Generate EUC_CN mappings from gb18030-2022.ucm

Started by John Naylorabout 1 year ago1 messagescommitters
Jump to latest
#1John Naylor
john.naylor@postgresql.org

Generate EUC_CN mappings from gb18030-2022.ucm

In the wake of cfa6cd292, EUC_CN was the only encoding that used
gb-18030-2000.xml to generate the .map files. Since EUC_CN is a subset
of GB18030, we can easily use the same UCM file. This allows deleting
the XML file from our repository.

Author: Chao Li <lic@highgo.com>
Discussion: /messages/by-id/CANWCAZaNRXZ-5NuXmsaMA2mKvMZnCGHZqQusLkpE+8YX+i5OYg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/48566180efff2f414ce806ca7705e811451b82ad

Modified Files
--------------
src/backend/utils/mb/Unicode/Makefile | 4 +-
src/backend/utils/mb/Unicode/UCS_to_EUC_CN.pl | 32 +-
src/backend/utils/mb/Unicode/gb-18030-2000.xml | 30916 -----------------------
3 files changed, 23 insertions(+), 30929 deletions(-)