File: XLC_LOCALE

package info (click to toggle)
console-setup 1.68+squeeze2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 24,608 kB
  • ctags: 293
  • sloc: xml: 9,987; perl: 8,478; sh: 3,005; makefile: 672
file content (151 lines) | stat: -rw-r--r-- 2,948 bytes parent folder | download | duplicates (11)
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
144
145
146
147
148
149
150
151
#
# (c) 1996, X11R6 L10N for Taiwan and Big5 Encoding Project
#
# modified for X11R6.3 by Hung-Chi Chu <hcchu@r350.ee.ntu.edu.tw> 1998/01/10
# modified for Big5HKSCS by Roger So <roger.so@sw-1.com> 
#
# $XFree86: xc/nls/XLC_LOCALE/zh_HK.big5hkscs,v 1.2 2001/11/01 23:35:28 dawes Exp $
#
#	XLC_FONTSET category
#
XLC_FONTSET
# fs0 class (7 bit ASCII)
fs0	{
	charset	{
		name	ISO8859-1:GL
	}
	font	{
		primary		ISO8859-1:GL
		vertical_rotate	all
        }
}
# fs1 class (standard Big5)
fs1	{
	charset	{
		name	BIG5-0:GLGR;BIG5-1:GLGR;BIG5-2:GLGR
	}
	font    {
		primary		BIG5-0:GLGR
		substitute	BIG5-0:GLGR
	}
}
# fs2 class (HKSCS extensions)
fs2	{
	charset	{
		name	BIG5HKSCS-0:GLGR;BIG5HKSCS-1:GLGR;BIG5HKSCS-2:GLGR
	}
	font	{
		primary		BIG5HKSCS-0:GLGR
		substitute	BIG5HKSCS-0:GLGR
	}
}
END XLC_FONTSET

#
#	XLC_XLOCALE category
#
XLC_XLOCALE

encoding_name		zh_HK.Big5HKSCS
mb_cur_max		2
state_depend_encoding	False

wc_encoding_mask	\x00008000
wc_shift_bits		8

use_stdc_env		True
force_convert_to_mb	True

cs0	{
	side		GL:Default
	length		1
	wc_encoding	\x00000000
	ct_encoding	ISO8859-1:GL
}

# standard Big5, A140-C5FE + C940-F8FE
cs1	{
	side		none
	length		2
	byte1		\xa1,\xc5;\xc9,\xf8
	byte2		\x40,\x7e;\xa1,\xfe

	wc_encoding	\x00008000
	ct_encoding	BIG5-0:GLGR:\x1b\x25\x2f\x32\x80\x89\x42\x49\x47\x35\x2d\x30\x02

	mb_conversion	[\x8140,\xfefe]->\x0140
	ct_conversion	[\x0140,\x7efe]->\x8140
}

# standard Big5, C640-C67E
cs2	{
	side		none
	length		2
	byte1		\xc6
	byte2		\x40,\x7e

	wc_encoding	\x00008000
	ct_encoding	BIG5-1:GLGR:\x1b\x25\x2f\x32\x80\x89\x42\x49\x47\x35\x2d\x31\x02

	mb_conversion	[\x8140,\xfefe]->\x0140
	ct_conversion	[\x0140,\x7efe]->\x8140
}

# standard Big5, F940-F9D5
cs3	{
	side		none
	length		2
	byte1		\xf9
	byte2		\x40,\xd5

	wc_encoding	\x00008000
	ct_encoding	BIG5-2:GLGR:\x1b\x25\x2f\x32\x80\x89\x42\x49\x47\x35\x2d\x32\x02

	mb_conversion	[\x8140,\xfefe]->\x0140
	ct_conversion	[\x0140,\x7efe]->\x8140
}


# HKSCS extensions, 8540-A0FE + C740-C8FE + FA40-FEFE
cs4     {
	side		none
	length		2
	byte1		\x85,\xa0;\xc7,\xc8;\xfa,\xfe
	byte2		\x40,\x7e;\xa1,\xfe

	wc_encoding	\x00008000
	ct_encoding	BIG5HKSCS-0:GLGR:\x1b\x25\x2f\x32\x80\x8c\x42\x49\x47\x35\x48\x4b\x53\x43\x53\x2d\x30\x02

	mb_conversion	[\x8140,\xfefe]->\0x0140
	ct_conversion	[\x0140,\x7efe]->\0x8140
}

# HKSCS extensions, C6A1-C6FE
cs5     {
	side		none
	length		2
	byte1		\xc6
	byte2		\xa1,\xfe

	wc_encoding	\x00008000
	ct_encoding	BIG5HKSCS-1:GLGR:\x1b\x25\x2f\x32\x80\x8c\x42\x49\x47\x35\x48\x4b\x53\x43\x53\x2d\x31\x02

	mb_conversion	[\x8140,\xfefe]->\0x0140
	ct_conversion	[\x0140,\x7efe]->\0x8140
}

# HKSCS extensions, F9D6-F9FE
cs6     {
	side		none
	length		2
	byte1		\xf9
	byte2		\xd6,\xfe

	wc_encoding	\x00008000
	ct_encoding	BIG5HKSCS-2:GLGR:\x1b\x25\x2f\x32\x80\x8c\x42\x49\x47\x35\x48\x4b\x53\x43\x53\x2d\x32\x02

	mb_conversion	[\x8140,\xfefe]->\0x0140
	ct_conversion	[\x0140,\x7efe]->\0x8140
}

END XLC_XLOCALE