projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb4dded
)
Fix GB18030 to UTF-8 mapping table
author
Tatsuo Ishii
Mon, 25 Aug 2003 01:46:16 +0000
(
01:46
+0000)
committer
Tatsuo Ishii
Mon, 25 Aug 2003 01:46:16 +0000
(
01:46
+0000)
src/backend/utils/mb/Unicode/UCS_to_GB18030.pl
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl
b/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl
index 268c57cd6c749e2b4ecd04dc0f6e86e7607ddb95..01643c63a6fabf53d506f2225e15eb967d84ffb1 100755
(executable)
--- 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(
){
if( /^#/ ){
next;
}
- ( $
c, $u
, $rest ) = split;
+ ( $
u, $c
, $rest ) = split;
$ucs = hex($u);
$code = hex($c);
if( $code >= 0x80 && $ucs >= 0x0080 ){