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