XLC_LOCALE.pre revision 1ab64890
1XCOMM 
2XCOMM  X11R6 L10N for Chinese GBK Encoding.
3XCOMM     modified from xc/nls/XLC_LOCALE/zh_TW.Big5
4XCOMM     by Sean Chen <seanc@turbolinux.com>
5XCOMM 
6XCOMM $XFree86$
7
8XCOMM 
9XCOMM 	XLC_FONTSET category
10XCOMM 
11XLC_FONTSET
12XCOMM        fs0 class (7 bit ASCII)
13fs0     {
14        charset {
15                name    ISO8859-1:GL
16        }
17        font    {
18                primary         ISO8859-1:GL
19                vertical_rotate all
20        }
21}
22XCOMM        fs1 class
23fs1     {
24        charset {
25                name    GBK-0:GLGR
26        }
27        font    {
28                primary GBK-0:GLGR
29                substitute GB13000.1993-1:GLGR
30        }
31}
32END XLC_FONTSET
33
34XCOMM 
35XCOMM 	XLC_XLOCALE category
36XCOMM 
37XLC_XLOCALE
38
39encoding_name		zh_CN.GBK
40mb_cur_max		2
41state_depend_encoding	False
42
43wc_encoding_mask	\x00008000
44wc_shift_bits		8
45
46use_stdc_env		True
47force_convert_to_mb	True
48
49XCOMM 	cs0 class
50cs0	{
51	side		GL:Default
52	length		1
53	wc_encoding	\x00000000
54	ct_encoding	ISO8859-1:GL
55}
56
57XCOMM 	cs1 class
58cs1	{
59	side		none
60	length		2
61	byte1		\x81,\xfe
62	byte2		\x40,\x7e;\x80,\xfe
63
64	wc_encoding	\x00008000
65	ct_encoding	GBK-0:GLGR:\x1b\x25\x2f\x32
66
67	mb_conversion	[\x8140,\xfefe]->\x0140
68	ct_conversion	[\x0140,\x7efe]->\x8140
69}
70
71END XLC_XLOCALE
72