summaryrefslogtreecommitdiff
path: root/xc/nls/XLC_LOCALE/zh_TW
blob: 93cecef0de6f602f93dac0dd12b205f76ce35880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
XCOMM  $Xorg: zh_TW,v 1.3 2000/08/17 19:47:01 cpqbld Exp $
XCOMM  XLocale Database Sample for zh_TW
XCOMM 
XCOMM Note: In lib/X11/lcCT.c, charset names for CNS11643 coded character
XCOMM sets are defined as CNS11643.1986-1 and -2.  In the ECMA Registry,
XCOMM CNS coded character sets 1-7 are registered as CNS 11643-1992.
XCOMM CJK.INF Version 1.7 (August 15, 1995) written by Ken Lunde says
XCOMM plane 14 of CNS 11643-1983 now became plane 3 of CNS 11643-1992.
XCOMM I do not know how Taiwanese EUC is organized currently, so I left the
XCOMM X11R6 organization of fsN/csN as it is and only changed "CNS11643-*"
XCOMM to "CNS11643.1986-*".
XCOMM	1995-10-24	T. Numata (numa@rp.open.cs.fujitsu.co.jp)

XCOMM 
XCOMM 	XLC_FONTSET category
XCOMM 
XLC_FONTSET
XCOMM 	fs0 class (7 bit ASCII)
fs0	{
	charset	{
		name	ISO8859-1:GL
	}
	font	{
		primary		ISO8859-1:GL
		vertical_rotate	all
	}
}
XCOMM 	fs1 class
fs1	{
	charset	{
		name	CNS11643.1986-1:GL
	}
	font	{
		primary	CNS11643.1986-1:GL
	}
}
XCOMM 	fs2 class
fs2	{
	charset	{
		name	CNS11643.1986-2:GL
	}
	font	{
		primary	CNS11643.1986-2:GL
	}
}
XCOMM 	fs3 class 
fs3	{
	charset	{
		name	CNS11643.1986-14:GL
	}
	font	{
		primary	CNS11643.1986-14:GL
	}
}
XCOMM 	fs4 class 
fs4	{
	charset	{
		name	CNS11643.1986-15:GL
	}
	font	{
		primary	CNS11643.1986-15:GL
	}
}
XCOMM 	fs5 class 
fs5	{
	charset	{
		name	CNS11643.1986-16:GL
	}
	font	{
		primary	CNS11643.1986-16:GL
	}
}
END XLC_FONTSET

XCOMM 
XCOMM 	XLC_XLOCALE category
XCOMM 
XLC_XLOCALE

encoding_name		zh_TW.euc
mb_cur_max		4
state_depend_encoding	False
wc_encoding_mask	\x3fffc000
wc_shift_bits		7

#ifndef X_LOCALE
use_stdc_env		True
force_convert_to_mb	True
#endif

XCOMM 	cs0 class
cs0	{
	side		GL:Default
	length		1
	wc_encoding	\x00000000
	ct_encoding	ISO8859-1:GL; CNS11643.1986-0:GL
}

XCOMM 	cs1 class
cs1	{
	side		GR:Default
	length		2
	wc_encoding	\x30000000
	ct_encoding	CNS11643.1986-1:GR
}

XCOMM 	cs2 class	# plane 2
cs2	{
	side		GR
	length		2
	mb_encoding	<SS> \x8e\xa2
	wc_encoding	\x10088000
	ct_encoding	CNS11643.1986-2:GR
}

XCOMM 	cs3 class	# plane 14
cs3	{
	side		GR
	length		2
	mb_encoding	<SS> \x8e\xae
	wc_encoding	\x100b8000
	ct_encoding	CNS11643.1986-14:GR
}

XCOMM 	cs4 class	# plane 15
cs4	{
	side		GR
	length		2
	mb_encoding	<SS> \x8e\xaf
	wc_encoding	\x100bc000
	ct_encoding	CNS11643.1986-15:GR
}

XCOMM 	cs5 class	# plane 16
cs5	{
	side		GR
	length		2
	mb_encoding	<SS> \x8e\xb0
	wc_encoding	\x100c0000
	ct_encoding	CNS11643.1986-16:GR
}

END XLC_XLOCALE