summaryrefslogtreecommitdiff
path: root/nls/ja/XLC_LOCALE.pre
blob: a538ed5e703555f5113ea987ceceab9bc5791668 (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
XCOMM  $XFree86: xc/nls/XLC_LOCALE/ja,v 1.3 1997/08/26 11:57:22 hohndel Exp $
XCOMM 
XCOMM 
XCOMM
XCOMM  $Xorg: ja,v 1.3 2000/08/17 19:47:00 cpqbld Exp $
XCOMM
XCOMM  XLocale Database Sample for ja_JP.euc 
XCOMM 

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
		substitute	JISX0201.1976-0:GL
		vertical_rotate	all
	}
}
XCOMM 	fs1 class (Kanji)
fs1	{
	charset	{
		name		JISX0208.1983-0:GL
		udc_area	\x7521,\x7e7e
	}
	font	{
		primary		JISX0208.1983-0:GL
                substitute      JISX0208.1990-0:GL
	}
}
XCOMM 	fs2 class (Half Kana)
fs2	{
	charset	{
		name		JISX0201.1976-0:GR
	}
	font	{
		primary		JISX0201.1976-0:GR
		substitute      JISX0201.1976-0:GR
		vertical_rotate	all
	}
}
XCOMM 	fs3 class (Supplementary Kanji)
XCOMM fs3	{
XCOMM	charset	{
XCOMM		name		JISX0212.1990-0:GL
XCOMM		udc_area	\x7521,\x7e7e
XCOMM	}
XCOMM	font	{
XCOMM		primary		JISX0212.1990-0:GL
XCOMM 	}
XCOMM }
END XLC_FONTSET

XCOMM 
XCOMM 	XLC_XLOCALE category
XCOMM 
XLC_XLOCALE

encoding_name		ja.euc
mb_cur_max		3
state_depend_encoding	False
#if WCHAR32
wc_encoding_mask	\x30000000
wc_shift_bits		7
#else
wc_encoding_mask	\x00008080
wc_shift_bits		8
#endif

#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; JISX0201.1976-0:GL
}

XCOMM 	cs1 class
cs1	{
	side		GR:Default
	length		2
#if WCHAR32
	wc_encoding	\x30000000
#else
	wc_encoding	\x00008080
#endif
	ct_encoding	JISX0208.1983-0:GL; JISX0208.1983-0:GR;\
			JISX0208.1983-1:GL; JISX0208.1983-1:GR
}

XCOMM 	cs2 class
cs2	{
	side		GR
	length		1
	mb_encoding	<SS> \x8e
#if WCHAR32
	wc_encoding	\x10000000
#else
	wc_encoding	\x00000080
#endif
	ct_encoding	JISX0201.1976-0:GR
}

XCOMM 	cs3 class
XCOMM cs3	{
XCOMM 	side		GL
XCOMM 	length		2
XCOMM 	mb_encoding	<SS> \x8f
XCOMM #if WCHAR32
XCOMM 	wc_encoding	\x20000000
XCOMM #else
XCOMM 	wc_encoding	\x00008000
XCOMM #endif
XCOMM 	ct_encoding	JISX0212.1990-0:GL; JISX0212.1990-0:GR
XCOMM }


END XLC_XLOCALE