Skip to content

Commit 346a721

Browse files
committed
Remove personal copyright now that file has been rewritten using
existing *.pl conversion script. Andreas 'ads' Scherbaum
1 parent 93a57c3 commit 346a721

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

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

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
#! /usr/bin/perl
22
#
3-
# Copyright 2002 by Bill Huang
3+
# Copyright (c) 2007-2010, PostgreSQL Global Development Group
44
#
5-
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl,v 1.5 2005/03/07 04:30:52 momjian Exp $
5+
# $Id: UCS_to_GB18030.pl,v 1.6 2010/02/16 20:35:07 momjian Exp $
66
#
77
# Generate UTF-8 <--> GB18030 code conversion tables from
8-
# map files provided by Unicode organization.
9-
# Unfortunately it is prohibited by the organization
10-
# to distribute the map files. So if you try to use this script,
11-
# you have to obtain ISO10646-GB18030.TXT from
12-
# the organization's ftp site.
8+
# "ISO10646-GB18030.TXT"
139
#
14-
# ISO10646-GB18030.TXT format:
15-
# GB18030 code in hex
16-
# UCS-2 code in hex
17-
# # and Unicode name (not used in this script)
10+
# file format:
11+
# GB18030 hex code
12+
# UCS-2 hex code
1813

1914
require "ucs2utf.pl";
2015

16+
2117
# first generate UTF-8 --> GB18030 table
2218

2319
$in_file = "ISO10646-GB18030.TXT";
@@ -45,6 +41,7 @@
4541
}
4642
close( FILE );
4743

44+
4845
#
4946
# first, generate UTF8 --> GB18030 table
5047
#
@@ -66,6 +63,7 @@
6663
print FILE "};\n";
6764
close(FILE);
6865

66+
6967
#
7068
# then generate GB18030 --> UTF8 table
7169
#

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