From: Tatsuo Ishii Date: Sun, 24 Aug 2003 05:00:45 +0000 (+0000) Subject: Fix bug in GB18030 conversion script X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=f28438bbfb673a996f493ce93245fe236632bd59;p=users%2Fbernd%2Fpostgres.git Fix bug in GB18030 conversion script --- diff --git a/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl b/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl index 324ab086c4..cc44c46d50 100755 --- a/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl +++ b/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl @@ -78,7 +78,7 @@ while( ){ if( /^#/ ){ next; } - ( $c, $u, $rest ) = split; + ( $u, $c, $rest ) = split; $ucs = hex($u); $code = hex($c); if( $code >= 0x80 && $ucs >= 0x0080 ){