netatalk  4.4.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
mac_chinese_trad.h
Go to the documentation of this file.
1/*
2 * MacChineseTrad
3 * Copyright (C) TSUBAKIMOTO Hiroya <[email protected]> 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
26static const uint16_t mac_chinese_trad_uni2_page00[][2] = {
27 /* 0x00a */ { 0x0201, 0 }, { 0x0080, 2 },
28};
29
30static const uint16_t mac_chinese_trad_uni2_page20[][2] = {
31 /* 0x202 */ { 0x0044, 3 },
32};
33
34static const uint16_t mac_chinese_trad_uni2_page21[][2] = {
35 /* 0x212 */ { 0x0004, 5 },
36};
37
38static const uint16_t mac_chinese_trad_uni2_page22[][2] = {
39 /* 0x229 */ { 0x0020, 6 }, { 0x0000, 0 }, { 0x0000, 0 },
40 /* 0x22c */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x8000, 7 },
41};
42
43static const uint16_t mac_chinese_trad_uni2_page25[][2] = {
44 /* 0x259 */ { 0x0020, 8 },
45};
46
47static const uint16_t mac_chinese_trad_uni2_page26[][2] = {
48 /* 0x264 */ { 0x0002, 9 },
49};
50
51static const uint16_t mac_chinese_trad_uni2_pagee0[][2] = {
52 /* 0xe00 */ { 0xffff, 10 }, { 0x00ff, 26 },
53};
54
55static const uint16_t mac_chinese_trad_uni2_pagef8[][2] = {
56 /* 0xf88 */ { 0x0003, 34 },
57};
58
59static const uint16_t mac_chinese_trad_uni2_pagefe[][2] = {
60 /* 0xfe4 */ { 0x1000, 36 }, { 0x7ef5, 37 },
61};
62
63static const uint16_t mac_chinese_trad_uni2_pageff[][2] = {
64 /* 0xff6 */ { 0x0010, 49 },
65};
66
68 { { 0x00a0, 0x00bf }, mac_chinese_trad_uni2_page00 },
69 { { 0x2020, 0x202f }, mac_chinese_trad_uni2_page20 },
70 { { 0x2120, 0x212f }, mac_chinese_trad_uni2_page21 },
71 { { 0x2290, 0x22ef }, mac_chinese_trad_uni2_page22 },
72 { { 0x2590, 0x259f }, mac_chinese_trad_uni2_page25 },
73 { { 0x2640, 0x264f }, mac_chinese_trad_uni2_page26 },
74 { { 0xe000, 0xe01f }, mac_chinese_trad_uni2_pagee0 },
75 { { 0xf880, 0xf88f }, mac_chinese_trad_uni2_pagef8 },
76 { { 0xfe40, 0xfe5f }, mac_chinese_trad_uni2_pagefe },
77 { { 0xff60, 0xff6f }, mac_chinese_trad_uni2_pageff },
78 { { 0, 0 }, NULL }
79};
80
81static const uint16_t mac_chinese_trad_uni2_charset[] = {
82 0x00a0, 0x00fd, 0xa145, 0xffff, 0x00ff, 0x00fe, 0xa1f2, 0xa14b,
83 0xffff, 0xffff, 0x0080, 0xa1c3, 0xa279, 0xa14e, 0xa1a3, 0xa1a4,
84 0xa2cc, 0xa2ce, 0xa1cb, 0xa154, 0xa17d, 0xa17e, 0xa14d, 0xa14f,
85 0xa150, 0xa1fe, 0xa152, 0xa151, 0xa153, 0xa240, 0xa1c5, 0xa15a,
86 0xa1a1, 0xa1a2, 0x0081, 0x0082, 0xffff, 0xffff, 0xffff, 0xffff,
87 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
88 0xffff, 0xffff,
89};
90
91static const uint16_t mac_chinese_trad_2uni_page00[][2] = {
92 /* 0x008 */ { 0x0007, 0 }, { 0x0000, 0 }, { 0x0001, 3 }, { 0x0000, 0 },
93 /* 0x00c */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0xe000, 4 },
94};
95
96static const uint16_t mac_chinese_trad_2uni_pagea1[][2] = {
97 /* 0xa14 */ { 0xe820, 7 }, { 0x041f, 12 }, { 0x0000, 0 }, { 0x6000, 18 },
98 /* 0xa18 */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x001e, 20 }, { 0x0000, 0 },
99 /* 0xa1c */ { 0x0828, 24 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x4004, 27 },
100 /* 0xa20 */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 },
101 /* 0xa24 */ { 0x0001, 29 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0200, 30 },
102 /* 0xa28 */ { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 }, { 0x0000, 0 },
103 /* 0xa2c */ { 0x5000, 31 },
104};
105
107 { { 0x0080, 0x00ff }, mac_chinese_trad_2uni_page00 },
108 { { 0xa140, 0xa2cf }, mac_chinese_trad_2uni_pagea1 },
109 { { 0, 0 }, NULL }
110};
111
112static const uint16_t mac_chinese_trad_2uni_charset[] = {
113 0xe000, 0xf880, 0xf881, 0x00a0, 0x00a9, 0x2122, 0x2026, 0x00b7,
114 0x22ef, 0xe00c, 0xe003, 0xe00d, 0xe00e, 0xe011, 0xe010, 0xe012,
115 0xe009, 0xe015, 0xe00a, 0xe00b, 0xe016, 0xe017, 0xe004, 0xe005,
116 0xe001, 0xe014, 0xe008, 0x2295, 0xe00f, 0xe013, 0xe002, 0xe006,
117 0xe007,
118};
119
120static const uint32_t mac_chinese_trad_compose[] = {
121 0x005cf87f, 0x203ef87c, 0x2502f87f, 0x3001f87d,
122 0x3014f87f, 0x3015f87f, 0x5341f87f, 0x5345f87f,
123 0xfe4bf87c, 0xff01f87d, 0xff08f87f, 0xff09f87f,
124 0xff0cf87d, 0xff0ef87d, 0xff0ef87e, 0xff0ff87f,
125 0xff1af87d, 0xff1bf87d, 0xff1ff87d, 0xff3cf87f,
126 0xff3ff87c, 0xff3ff87f, 0xff5bf87f, 0xff5df87f,
127};
static const uint32_t mac_chinese_trad_compose[]
Definition mac_chinese_trad.h:120
static const uint16_t mac_chinese_trad_uni2_page21[][2]
Definition mac_chinese_trad.h:34
static const uint16_t mac_chinese_trad_2uni_page00[][2]
Definition mac_chinese_trad.h:91
static const uint16_t mac_chinese_trad_2uni_charset[]
Definition mac_chinese_trad.h:112
static const uint16_t mac_chinese_trad_uni2_pagee0[][2]
Definition mac_chinese_trad.h:51
static const uint16_t mac_chinese_trad_uni2_page26[][2]
Definition mac_chinese_trad.h:47
static const cjk_index_t mac_chinese_trad_2uni_index[]
Definition mac_chinese_trad.h:106
static const uint16_t mac_chinese_trad_uni2_pageff[][2]
Definition mac_chinese_trad.h:63
static const cjk_index_t mac_chinese_trad_uni2_index[]
Definition mac_chinese_trad.h:67
static const uint16_t mac_chinese_trad_2uni_pagea1[][2]
Definition mac_chinese_trad.h:96
static const uint16_t mac_chinese_trad_uni2_page25[][2]
Definition mac_chinese_trad.h:43
static const uint16_t mac_chinese_trad_uni2_pagef8[][2]
Definition mac_chinese_trad.h:55
static const uint16_t mac_chinese_trad_uni2_page20[][2]
Definition mac_chinese_trad.h:30
static const uint16_t mac_chinese_trad_uni2_page22[][2]
Definition mac_chinese_trad.h:38
static const uint16_t mac_chinese_trad_uni2_charset[]
Definition mac_chinese_trad.h:81
static const uint16_t mac_chinese_trad_uni2_page00[][2]
Definition mac_chinese_trad.h:26
static const uint16_t mac_chinese_trad_uni2_pagefe[][2]
Definition mac_chinese_trad.h:59
Definition generic_cjk.h:27