Skip to content

Commit 0c9f978

Browse files
committed
Fix GB18030 to UTF-8 mapping table
1 parent eb4dded commit 0c9f978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Copyright 2002 by Bill Huang
44
#
5-
# $Id: UCS_to_GB18030.pl,v 1.2 2002/11/12 11:33:40 ishii Exp $
5+
# $Id: UCS_to_GB18030.pl,v 1.3 2003/08/25 01:46:16 ishii Exp $
66
#
77
# Generate UTF-8 <--> GB18030 code conversion tables from
88
# map files provided by Unicode organization.
@@ -78,7 +78,7 @@
7878
if( /^#/ ){
7979
next;
8080
}
81-
( $c, $u, $rest ) = split;
81+
( $u, $c, $rest ) = split;
8282
$ucs = hex($u);
8383
$code = hex($c);
8484
if( $code >= 0x80 && $ucs >= 0x0080 ){

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy