netatalk 4.5.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
mac_chinese_simp.h
Go to the documentation of this file.
1/*
2 * MacChineseSimp
3 * Copyright (C) TSUBAKIMOTO Hiroya <zorac@4000do.co.jp> 2004
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
25
26 static const uint16_t mac_chinese_simp_uni2_page00[][2] = {
27 /* 0x00a */ { 0x022d, 0 }, { 0x0080, 5 },
28 /* 0x00c */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 },
29 /* 0x010 */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 },
30 /* 0x014 */ { 0x0110, 6 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 },
31 /* 0x018 */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 },
32 /* 0x01c */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0200, 8 },
33 /* 0x020 */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 },
34 /* 0x024 */ { 0x0000, 0 }, { 0x0002, 9 }, { 0x0002, 10 },
35};
36
37 static const uint16_t mac_chinese_simp_uni2_page1e[][2] = {
38 /* 0x1e3 */ { 0x8000, 11 },
39};
40
41 static const uint16_t mac_chinese_simp_uni2_page20[][2] = {
42 /* 0x201 */ { 0x0070, 12 }, { 0x0040, 15 }, { 0x4000, 16 },
43};
44
45 static const uint16_t mac_chinese_simp_uni2_page21[][2] = {
46 /* 0x212 */ { 0x0004, 17 },
47};
48
49 static const uint16_t mac_chinese_simp_uni2_page22[][2] = {
50 /* 0x22e */ { 0x8000, 18 },
51};
52
53 static const uint16_t mac_chinese_simp_uni2_page30[][2] = {
54 /* 0x301 */ { 0x1000, 19 }, { 0x0000, 0 }, { 0x0000, 0 },
55 /* 0x304 */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 },
56 /* 0x308 */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 },
57 /* 0x30c */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0800, 20 },
58};
59
60 static const uint16_t mac_chinese_simp_uni2_pagee0[][2] = {
61 /* 0xe00 */ { 0x07ff, 21 },
62};
63
64 static const uint16_t mac_chinese_simp_uni2_pagef8[][2] = {
65 /* 0xf88 */ { 0x0003, 32 },
66};
67
68 static const uint16_t mac_chinese_simp_uni2_pagefe[][2] = {
69 /* 0xfe3 */ { 0xfffa, 34 }, { 0x001f, 48 },
70};
71
72 static const uint16_t mac_chinese_simp_uni2_pageff[][2] = {
73 /* 0xff5 */ { 0x4000, 53 }, { 0x0000, 0 }, { 0x0000, 0 },
74 /* 0xff8 */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 },
75 /* 0xffc */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x002b, 54 },
76};
77
78 static const cjk_index_t mac_chinese_simp_uni2_index[] = {
79 { { 0x00a0, 0x026f }, mac_chinese_simp_uni2_page00 },
80 { { 0x1e30, 0x1e3f }, mac_chinese_simp_uni2_page1e },
81 { { 0x2010, 0x203f }, mac_chinese_simp_uni2_page20 },
82 { { 0x2120, 0x212f }, mac_chinese_simp_uni2_page21 },
83 { { 0x22e0, 0x22ef }, mac_chinese_simp_uni2_page22 },
84 { { 0x3010, 0x30ff }, mac_chinese_simp_uni2_page30 },
85 { { 0xe000, 0xe00f }, mac_chinese_simp_uni2_pagee0 },
86 { { 0xf880, 0xf88f }, mac_chinese_simp_uni2_pagef8 },
87 { { 0xfe30, 0xfe4f }, mac_chinese_simp_uni2_pagefe },
88 { { 0xff50, 0xffef }, mac_chinese_simp_uni2_pageff },
89 { { 0, 0 }, NULL }
90};
91
92 static const uint16_t mac_chinese_simp_uni2_charset[] = {
93 0x00a0, 0xa1e9, 0xa1ea, 0xa3a4, 0x00fd, 0xa1a4, 0xa8bd, 0xa8be,
94 0xa8bf, 0xa8bb, 0xa8c0, 0xa8bc, 0xa1aa, 0xffff, 0xa1ac, 0x00ff,
95 0xa3fe, 0x00fe, 0xa1ad, 0xa1ab, 0xffff, 0x0080, 0xa6f3, 0xa6db,
96 0xa6da, 0xa6ec, 0xa6ed, 0xa6de, 0xa6d9, 0xa6dc, 0xa6dd, 0xa6df,
97 0x0081, 0x0082, 0xa6f2, 0xa6f4, 0xa6f5, 0xa6e0, 0xa6e1, 0xa6f0,
98 0xa6f1, 0xa6e2, 0xa6e3, 0xa6ee, 0xa6ef, 0xa6e6, 0xa6e7, 0xa6e4,
99 0xa6e5, 0xa6e8, 0xa6e9, 0xa6ea, 0xa6eb, 0xffff, 0xffff, 0xffff,
100 0xffff, 0xffff,
101};
102
103 static const uint16_t mac_chinese_simp_2uni_page00[][2] = {
104 /* 0x008 */ { 0x0007, 0 }, { 0x0000, 0 }, { 0x0001, 3 }, { 0x0000, 0 },
105 /* 0x00c */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0xe000, 4 },
106};
107
108 static const uint16_t mac_chinese_simp_2uni_pagea1[][2] = {
109 /* 0xa1a */ { 0x3c10, 7 }, { 0x0000, 0 },
110 /* 0xa1c */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0600, 12 },
111};
112
113 static const uint16_t mac_chinese_simp_2uni_pagea3[][2] = {
114 /* 0xa3a */ { 0x0010, 14 }, { 0x0000, 0 },
115 /* 0xa3c */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x4000, 15 },
116};
117
118 static const uint16_t mac_chinese_simp_2uni_pagea6[][2] = {
119 /* 0xa6d */ { 0xfe00, 16 }, { 0xffff, 23 }, { 0x003f, 39 },
120};
121
122 static const uint16_t mac_chinese_simp_2uni_pagea8[][2] = {
123 /* 0xa8b */ { 0xf800, 45 }, { 0x0001, 50 },
124};
125
126 static const cjk_index_t mac_chinese_simp_2uni_index[] = {
127 { { 0x0080, 0x00ff }, mac_chinese_simp_2uni_page00 },
128 { { 0xa1a0, 0xa1ef }, mac_chinese_simp_2uni_pagea1 },
129 { { 0xa3a0, 0xa3ff }, mac_chinese_simp_2uni_pagea3 },
130 { { 0xa6d0, 0xa6ff }, mac_chinese_simp_2uni_pagea6 },
131 { { 0xa8b0, 0xa8cf }, mac_chinese_simp_2uni_pagea8 },
132 { { 0, 0 }, NULL }
133};
134
135 static const uint16_t mac_chinese_simp_2uni_charset[] = {
136 0xe000, 0xf880, 0xf881, 0x00a0, 0x00a9, 0x2122, 0x2026, 0x00b7,
137 0x2014, 0x301c, 0x2016, 0x22ef, 0x00a2, 0x00a3, 0x00a5, 0x203e,
138 0xe007, 0xe003, 0xe002, 0xe008, 0xe009, 0xe006, 0xe00a, 0xfe35,
139 0xfe36, 0xfe39, 0xfe3a, 0xfe3f, 0xfe40, 0xfe3d, 0xfe3e, 0xfe41,
140 0xfe42, 0xfe43, 0xfe44, 0xe004, 0xe005, 0xfe3b, 0xfe3c, 0xfe37,
141 0xfe38, 0xfe31, 0xe001, 0xfe33, 0xfe34, 0x0251, 0x1e3f, 0x0144,
142 0x0148, 0x01f9, 0x0261,
143};
144
145 static const uint32_t mac_chinese_simp_compose[] = {
146 0x00fcf87f, 0x22eff87e, 0x3001f87e, 0x3002f87e,
147 0x3016f87e, 0x3017f87e, 0xff01f87e, 0xff0cf87e,
148 0xff1af87e, 0xff1bf87e, 0xff1ff87e,
149};
mac_chinese_simp_uni2_page00
static const uint16_t mac_chinese_simp_uni2_page00[][2]
Definition mac_chinese_simp.h:26
mac_chinese_simp_uni2_page21
static const uint16_t mac_chinese_simp_uni2_page21[][2]
Definition mac_chinese_simp.h:45
mac_chinese_simp_2uni_pagea8
static const uint16_t mac_chinese_simp_2uni_pagea8[][2]
Definition mac_chinese_simp.h:122
mac_chinese_simp_uni2_pagefe
static const uint16_t mac_chinese_simp_uni2_pagefe[][2]
Definition mac_chinese_simp.h:68
mac_chinese_simp_uni2_pagef8
static const uint16_t mac_chinese_simp_uni2_pagef8[][2]
Definition mac_chinese_simp.h:64
mac_chinese_simp_uni2_charset
static const uint16_t mac_chinese_simp_uni2_charset[]
Definition mac_chinese_simp.h:92
mac_chinese_simp_uni2_page30
static const uint16_t mac_chinese_simp_uni2_page30[][2]
Definition mac_chinese_simp.h:53
mac_chinese_simp_2uni_index
static const cjk_index_t mac_chinese_simp_2uni_index[]
Definition mac_chinese_simp.h:126
mac_chinese_simp_uni2_index
static const cjk_index_t mac_chinese_simp_uni2_index[]
Definition mac_chinese_simp.h:78
mac_chinese_simp_compose
static const uint32_t mac_chinese_simp_compose[]
Definition mac_chinese_simp.h:145
mac_chinese_simp_2uni_pagea6
static const uint16_t mac_chinese_simp_2uni_pagea6[][2]
Definition mac_chinese_simp.h:118
mac_chinese_simp_2uni_pagea3
static const uint16_t mac_chinese_simp_2uni_pagea3[][2]
Definition mac_chinese_simp.h:113
mac_chinese_simp_uni2_page1e
static const uint16_t mac_chinese_simp_uni2_page1e[][2]
Definition mac_chinese_simp.h:37
mac_chinese_simp_uni2_pageff
static const uint16_t mac_chinese_simp_uni2_pageff[][2]
Definition mac_chinese_simp.h:72
mac_chinese_simp_uni2_page20
static const uint16_t mac_chinese_simp_uni2_page20[][2]
Definition mac_chinese_simp.h:41
mac_chinese_simp_2uni_page00
static const uint16_t mac_chinese_simp_2uni_page00[][2]
Definition mac_chinese_simp.h:103
mac_chinese_simp_uni2_page22
static const uint16_t mac_chinese_simp_uni2_page22[][2]
Definition mac_chinese_simp.h:49
mac_chinese_simp_uni2_pagee0
static const uint16_t mac_chinese_simp_uni2_pagee0[][2]
Definition mac_chinese_simp.h:60
mac_chinese_simp_2uni_pagea1
static const uint16_t mac_chinese_simp_2uni_pagea1[][2]
Definition mac_chinese_simp.h:108
mac_chinese_simp_2uni_charset
static const uint16_t mac_chinese_simp_2uni_charset[]
Definition mac_chinese_simp.h:135
cjk_index_t
Definition generic_cjk.h:27
NULL
#define NULL
Definition utf8util.c:47