aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-11-27 17:31:26 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-11-27 17:31:26 -0500
commit5afdfc9cbb29ffc6f6b557a06495672d3c09f688 (patch)
tree9bd6b71ef8f41c2742bb6570e0371f74c4f1a376 /src
parente17dab53ea301031bf41d27e0799b940484c7bb0 (diff)
downloadpostgresql-5afdfc9cbb29ffc6f6b557a06495672d3c09f688.tar.gz
postgresql-5afdfc9cbb29ffc6f6b557a06495672d3c09f688.zip
Update UCS_to_GB18030.pl with info about origin of the reference file.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/backend/utils/mb/Unicode/UCS_to_GB18030.pl3
-rw-r--r--src/backend/utils/mb/Unicode/gb18030_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/utf8_to_gb18030.map2
3 files changed, 6 insertions, 1 deletions
diff --git a/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl b/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl
index da9308a7dd5..e0730beb1fa 100755
--- a/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl
+++ b/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl
@@ -5,7 +5,8 @@
# src/backend/utils/mb/Unicode/UCS_to_GB18030.pl
#
# Generate UTF-8 <--> GB18030 code conversion tables from
-# "gb-18030-2000.xml"
+# "gb-18030-2000.xml", obtained from
+# http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/
#
# The lines we care about in the source file look like
# <a u="009A" b="81 30 83 36"/>
diff --git a/src/backend/utils/mb/Unicode/gb18030_to_utf8.map b/src/backend/utils/mb/Unicode/gb18030_to_utf8.map
index 5d08e1197d3..0e2f94759b2 100644
--- a/src/backend/utils/mb/Unicode/gb18030_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/gb18030_to_utf8.map
@@ -1,3 +1,5 @@
+/* src/backend/utils/mb/Unicode/gb18030_to_utf8.map */
+
static const pg_local_to_utf LUmapGB18030[ 30733 ] = {
{0x8140, 0xe4b882},
{0x8141, 0xe4b884},
diff --git a/src/backend/utils/mb/Unicode/utf8_to_gb18030.map b/src/backend/utils/mb/Unicode/utf8_to_gb18030.map
index 87e6e3d1bd9..7edce78ced5 100644
--- a/src/backend/utils/mb/Unicode/utf8_to_gb18030.map
+++ b/src/backend/utils/mb/Unicode/utf8_to_gb18030.map
@@ -1,3 +1,5 @@
+/* src/backend/utils/mb/Unicode/utf8_to_gb18030.map */
+
static const pg_utf_to_local ULmapGB18030[ 30733 ] = {
{0xc280, 0x81308130},
{0xc281, 0x81308131},