Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5afdfc9

Browse files
committed
Update UCS_to_GB18030.pl with info about origin of the reference file.
1 parent e17dab5 commit 5afdfc9

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

src/backend/utils/mb/Unicode/UCS_to_GB18030.pl

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# src/backend/utils/mb/Unicode/UCS_to_GB18030.pl
66
#
77
# Generate UTF-8 <--> GB18030 code conversion tables from
8-
# "gb-18030-2000.xml"
8+
# "gb-18030-2000.xml", obtained from
9+
# http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/
910
#
1011
# The lines we care about in the source file look like
1112
# <a u="009A" b="81 30 83 36"/>

src/backend/utils/mb/Unicode/gb18030_to_utf8.map

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* src/backend/utils/mb/Unicode/gb18030_to_utf8.map */
2+
13
static const pg_local_to_utf LUmapGB18030[ 30733 ] = {
24
{0x8140, 0xe4b882},
35
{0x8141, 0xe4b884},

src/backend/utils/mb/Unicode/utf8_to_gb18030.map

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* src/backend/utils/mb/Unicode/utf8_to_gb18030.map */
2+
13
static const pg_utf_to_local ULmapGB18030[ 30733 ] = {
24
{0xc280, 0x81308130},
35
{0xc281, 0x81308131},

0 commit comments

Comments
 (0)