XLC_LOCALE.pre revision 1ab64890
1XCOMM
2XCOMM (c) 1996, X11R6 L10N for Taiwan and Big5 Encoding Project
3XCOMM
4XCOMM modified for X11R6.3 by Hung-Chi Chu <hcchu@r350.ee.ntu.edu.tw> 1998/01/10
5XCOMM modified for Big5HKSCS by Roger So <roger.so@sw-linux.com> 
6XCOMM
7XCOMM $XFree86: xc/nls/XLC_LOCALE/zh_HK.big5hkscs,v 1.1 2001/03/06 18:54:46 dawes Exp $
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}
22
23XCOMM fs1 class (HKSCS extensions)
24fs1	{
25	charset	{
26		name	BIG5HKSCS-0:GLGR
27	}
28	font	{
29		primary		BIG5HKSCS-0:GLGR
30		substitute	BIG5HKSCS-0:GLGR
31	}
32}
33END XLC_FONTSET
34
35XCOMM
36XCOMM	XLC_XLOCALE category
37XCOMM
38XLC_XLOCALE
39
40encoding_name		zh_HK.big5hkscs
41mb_cur_max		2
42state_depend_encoding	False
43
44wc_encoding_mask	\x00008000
45wc_shift_bits		8
46
47use_stdc_env		True
48force_convert_to_mb	True
49
50+XCOMM	cs0 class
51cs0	{
52	side		GL:Default
53	length		1
54	wc_encoding	\x00000000
55	ct_encoding	ISO8859-1:GL
56}
57
58XCOMM	cs1 class
59cs1	{
60	side		none
61	length		2
62	byte1		\x85,\xfe
63	byte2		\x40,\x7e;\xa1,\xfe
64
65	wc_encoding	\x00008000
66	ct_encoding	BIG5HKSCS-0:GLGR:\x1b\x25\x2f\x32
67
68	mb_conversion	[\x8540,\xfefe]->\x0540
69	ct_conversion	[\x0540,\x7efe]->\x8540
70}
71
72END XLC_XLOCALE
73