Generate EUC_CN mappings from gb18030-2022.ucm
John Naylor <john.naylor@postgresql.org>
Author:
John Naylor <john.naylor@postgresql.org>
Date: 2025-10-02T05:36:24Z
Releases:
19 (unreleased)
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: https://postgr.es/m/CANWCAZaNRXZ-5NuXmsaMA2mKvMZnCGHZqQusLkpE%2B8YX%2Bi5OYg%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/mb/Unicode/gb-18030-2000.xml | deleted | +0 −30916 |
| src/backend/utils/mb/Unicode/Makefile | modified | +2 −2 |
| src/backend/utils/mb/Unicode/UCS_to_EUC_CN.pl | modified | +21 −11 |
Discussion
- GB18030-2022 Support in PostgreSQL 54 messages · 2025-08-04 → 2025-10-03