1
/* --------------------------------------------
2
THIS FILE WAS GENERATED BY intl/mapgen4.c
3
mapgen4 -condense -euc gb2312-2.txt
5
Unicode mapping table generated from file gb2312-2.txt
8
# Name: GB2312-80 to Unicode table (complete, hex format)
11
# Table format: Format A
12
# Date: 1999 October 8
13
# Author: Ken Whistler <kenw@sybase.com>
14
# Original authors: Glenn Adams, John H. Jenkin <jenkins@apple.com>
16
# Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved.
18
# This file is provided as-is by Unicode, Inc. (The Unicode Consortium).
19
# No claims are made as to fitness for any particular purpose. No
20
# warranties of any kind are expressed or implied. The recipient
21
# agrees to determine applicability of information provided. If this
22
# file has been provided on optical media by Unicode, Inc., the sole
23
# remedy for any claim will be exchange of defective media within 90
26
# Unicode, Inc. hereby grants the right to freely use the information
27
# supplied in this file in the creation of products supporting the
28
# Unicode Standard, and to make copies of this file in any form for
29
# internal or external distribution as long as this notice remains
34
# This table contains the datathe Unicode Consortium currently has on how
35
# GB2312-80 characters map into Unicode.
37
# The following algorithms can be used to change the hex form
38
# of GB2312 to other standard forms:
40
# To change hex to EUC form, add 0x8080
41
# To change hex to kuten form, first subtract 0x2020. Then
42
# the high and low bytes correspond to the ku and ten of
43
# the kuten form. For example, 0x2121 -> 0x0101 -> 0101;
44
# 0x777E -> 0x575E -> 8794
47
# 1.0 version updates 0.0d2 version by correcting mapping for 0x212C
48
# from U+2225 to U+2016.
50
# Updated versions of this file may be found in:
51
# <ftp://ftp.unicode.org/Public/MAPPINGS/>
53
# Any comments or problems, contact <errata@unicode.orgm>
54
# Please note that <errata@unicode.org> is an archival address;
55
# notices will be checked, but do not expect an immediate response.
57
* The contents of this file are subject to the Interbase Public
58
* License Version 1.0 (the "License"); you may not use this file
59
* except in compliance with the License. You may obtain a copy
60
* of the License at http://www.Inprise.com/IPL.html
62
* Software distributed under the License is distributed on an
63
* "AS IS" basis,WITHOUT WARRANTY OF ANY KIND,either express
64
* or implied. See the License for the specific language governing
65
* rights and limitations under the License.
67
* The Original Code was created by Inprise Corporation
68
* and its predecessors. Portions created by Inprise Corporation are
69
* Copyright (C) Inprise Corporation.
71
* All Rights Reserved.
72
* Contributor(s): ______________________________________.
73
-------------------------------------------- */
75
static const USHORT to_unicode_mapping_array[] = {
21324
0 /* END OF MAP TABLE */
21326
static const USHORT to_unicode_map[256] = {
21585
static const USHORT from_unicode_mapping_array[] = {
46674
0 /* END OF MAP TABLE */
46676
static const USHORT from_unicode_map[256] = {