XLC_LOCALE.pre revision b4ee4795
1XCOMM XLocale Database Sample for iso8859-3. 2XCOMM 3 4XCOMM 5XCOMM XLC_FONTSET category 6XCOMM 7XLC_FONTSET 8XCOMM fs0 class 9fs0 { 10 charset { 11 name ISO8859-1:GL 12 } 13 font { 14 primary ISO8859-3:GL 15 substitute ISO8859-1:GL 16 vertical_rotate all 17 } 18} 19XCOMM fs1 class 20fs1 { 21 charset { 22 name ISO8859-3:GR 23 } 24 font { 25 primary ISO8859-3:GR 26 } 27} 28END XLC_FONTSET 29 30XCOMM 31XCOMM XLC_XLOCALE category 32XCOMM 33XLC_XLOCALE 34 35encoding_name ISO8859-3 36mb_cur_max 1 37state_depend_encoding False 38#if WCHAR32 39wc_encoding_mask \x30000000 40wc_shift_bits 7 41#else 42wc_encoding_mask \x00008080 43wc_shift_bits 8 44#endif 45 46#ifndef X_LOCALE 47use_stdc_env True 48force_convert_to_mb True 49#endif 50 51XCOMM cs0 class 52cs0 { 53 side GL:Default 54 length 1 55 wc_encoding \x00000000 56 ct_encoding ISO8859-3:GL; ISO8859-1:GL 57} 58 59 60XCOMM cs1 class 61cs1 { 62 side GR:Default 63 length 1 64#if WCHAR32 65 wc_encoding \x30000000 66#else 67 wc_encoding \x00008080 68#endif 69 ct_encoding ISO8859-3:GR 70} 71 72END XLC_XLOCALE 73