Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit346a721

Browse files
committed
Remove personal copyright now that file has been rewritten using
existing *.pl conversion script.Andreas 'ads' Scherbaum
1 parent93a57c3 commit346a721

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-
# Copyright2002 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)

[8]ページ先頭

©2009-2025 Movatter.jp