XLC_LOCALE.pre revision b4ee4795
1XCOMM XLocale Database Sample for zh_TW 2XCOMM 3XCOMM Note: In lib/X11/lcCT.c, charset names for CNS11643 coded character 4XCOMM sets are defined as CNS11643.1986-1 and -2. In the ECMA Registry, 5XCOMM CNS coded character sets 1-7 are registered as CNS 11643-1992. 6XCOMM CJK.INF Version 1.7 (August 15, 1995) written by Ken Lunde says 7XCOMM plane 14 of CNS 11643-1983 now became plane 3 of CNS 11643-1992. 8XCOMM I do not know how Taiwanese EUC is organized currently, so I left the 9XCOMM X11R6 organization of fsN/csN as it is and only changed "CNS11643-*" 10XCOMM to "CNS11643.1986-*". 11XCOMM 1995-10-24 T. Numata (numa@rp.open.cs.fujitsu.co.jp) 12 13XCOMM 14XCOMM XLC_FONTSET category 15XCOMM 16XLC_FONTSET 17XCOMM fs0 class (7 bit ASCII) 18fs0 { 19 charset { 20 name ISO8859-1:GL 21 } 22 font { 23 primary ISO8859-1:GL 24 vertical_rotate all 25 } 26} 27XCOMM fs1 class 28fs1 { 29 charset { 30 name CNS11643.1986-1:GL 31 } 32 font { 33 primary CNS11643.1986-1:GL 34 } 35} 36XCOMM fs2 class 37fs2 { 38 charset { 39 name CNS11643.1986-2:GL 40 } 41 font { 42 primary CNS11643.1986-2:GL 43 } 44} 45XCOMM fs3 class 46fs3 { 47 charset { 48 name CNS11643.1986-14:GL 49 } 50 font { 51 primary CNS11643.1986-14:GL 52 } 53} 54XCOMM fs4 class 55fs4 { 56 charset { 57 name CNS11643.1986-15:GL 58 } 59 font { 60 primary CNS11643.1986-15:GL 61 } 62} 63XCOMM fs5 class 64fs5 { 65 charset { 66 name CNS11643.1986-16:GL 67 } 68 font { 69 primary CNS11643.1986-16:GL 70 } 71} 72END XLC_FONTSET 73 74XCOMM 75XCOMM XLC_XLOCALE category 76XCOMM 77XLC_XLOCALE 78 79encoding_name zh_TW.euc 80mb_cur_max 4 81state_depend_encoding False 82wc_encoding_mask \x3fffc000 83wc_shift_bits 7 84 85#ifndef X_LOCALE 86use_stdc_env True 87force_convert_to_mb True 88#endif 89 90XCOMM cs0 class 91cs0 { 92 side GL:Default 93 length 1 94 wc_encoding \x00000000 95 ct_encoding ISO8859-1:GL; CNS11643.1986-0:GL 96} 97 98XCOMM cs1 class 99cs1 { 100 side GR:Default 101 length 2 102 wc_encoding \x30000000 103 ct_encoding CNS11643.1986-1:GR 104} 105 106XCOMM cs2 class # plane 2 107cs2 { 108 side GR 109 length 2 110 mb_encoding <SS> \x8e\xa2 111 wc_encoding \x10088000 112 ct_encoding CNS11643.1986-2:GR 113} 114 115XCOMM cs3 class # plane 14 116cs3 { 117 side GR 118 length 2 119 mb_encoding <SS> \x8e\xae 120 wc_encoding \x100b8000 121 ct_encoding CNS11643.1986-14:GR 122} 123 124XCOMM cs4 class # plane 15 125cs4 { 126 side GR 127 length 2 128 mb_encoding <SS> \x8e\xaf 129 wc_encoding \x100bc000 130 ct_encoding CNS11643.1986-15:GR 131} 132 133XCOMM cs5 class # plane 16 134cs5 { 135 side GR 136 length 2 137 mb_encoding <SS> \x8e\xb0 138 wc_encoding \x100c0000 139 ct_encoding CNS11643.1986-16:GR 140} 141 142END XLC_XLOCALE 143