aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2003-08-25 01:46:16 +0000
committerTatsuo Ishii <ishii@postgresql.org>2003-08-25 01:46:16 +0000
commit0c9f978c0cc2cbc42c678ee4e7c7acfde4385412 (patch)
treed83b1567be68fd20a9dad84b06588404e90cf671 /src
parenteb4dded09ec7e925d73dfc1183b6a08e5461e666 (diff)
downloadpostgresql-0c9f978c0cc2cbc42c678ee4e7c7acfde4385412.tar.gz
postgresql-0c9f978c0cc2cbc42c678ee4e7c7acfde4385412.zip
Fix GB18030 to UTF-8 mapping table
Diffstat (limited to 'src')
-rwxr-xr-xsrc/backend/utils/mb/Unicode/UCS_to_GB18030.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl b/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl
index 268c57cd6c7..01643c63a6f 100755
--- a/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl
+++ b/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl
@@ -2,7 +2,7 @@
#
# Copyright 2002 by Bill Huang
#
-# $Id: UCS_to_GB18030.pl,v 1.2 2002/11/12 11:33:40 ishii Exp $
+# $Id: UCS_to_GB18030.pl,v 1.3 2003/08/25 01:46:16 ishii Exp $
#
# Generate UTF-8 <--> GB18030 code conversion tables from
# map files provided by Unicode organization.
@@ -78,7 +78,7 @@ while( <FILE> ){
if( /^#/ ){
next;
}
- ( $c, $u, $rest ) = split;
+ ( $u, $c, $rest ) = split;
$ucs = hex($u);
$code = hex($c);
if( $code >= 0x80 && $ucs >= 0x0080 ){